Shocking pink to RGB

Color Code

#fe02a2
Format Value
HEX #fe02a2
RGB rgb(254, 2, 162)
HSL hsl(321.9, 99.2%, 50.2%)
CMYK cmyk(0%, 99.2%, 36.2%, 0.4%)
HSV hsv(321.9, 99.2%, 99.6%)

shocking pink color harmonies

Tints & shades of shocking pink

Tints (lighter)

#fe19aa #fe30b3 #fe47bb #fe5ec4 #fe75cc #ff8cd5 #ffa3dd #ffbae6 #ffd1ee #ffe8f7

Shades (darker)

#e70293 #d00285 #b90176 #a20167 #8b0158 #73014a #5c013b #45012c #2e001d #17000f

Contrast & accessibility

The quick brown fox

On white · 3.66:1 · AA Large

The quick brown fox

On black · 5.74:1 · AA

Recommended text color: #000000

Use shocking pink in code

CSS color: #fe02a2;
SCSS $color: #fe02a2;
Tailwind bg-[#fe02a2]
Swift UIColor(red: 0.996, green: 0.008, blue: 0.635, alpha: 1)
Android Color.parseColor("#fe02a2")
Flutter Color(0xFFFE02A2)

Colors similar to shocking pink

Browse all Pink colors →

What is the RGB code for shocking pink?

The CSS color shocking pink in RGB format is rgb(254, 2, 162). Use this value directly in CSS, SVG, and most design tools.

How do I use shocking pink in CSS?

To apply shocking pink in CSS:

  • Text color: color: rgb(254, 2, 162);
  • Background: background-color: rgb(254, 2, 162);
  • Border: border-color: rgb(254, 2, 162);

What are all the color format values for shocking pink?

FormatValue
HEX#fe02a2
RGBrgb(254, 2, 162)
HSLhsl(321.9, 99.2%, 50.2%)
CMYKcmyk(0%, 99.2%, 36.2%, 0.4%)

How do I convert shocking pink to RGB?

Select shocking pink from the color name list in our color converter. The RGB value — rgb(254, 2, 162) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does shocking pink belong to?

shocking pink belongs to the pink color family. It is a medium, vivid color with HSL values: hue 321.9°, saturation 99.2%, lightness 50.2%.

How do I create lighter and darker shades of shocking pink?

Lighter variant (lightness 65.2%): #fe4ebe. Darker variant (lightness 35.2%): #b30172. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.