#FF04A8#FF04A8
#FF04A8 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 66.0% C 0.274 H 350.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #FF04A8 |
|---|---|
| RGB | rgb(255, 4, 168) |
| HSL | hsl(321, 100%, 51%) |
| HSV | hsv(321, 98%, 100%) |
| CMYK | cmyk(0%, 98.4%, 34.1%, 0%) |
| CIE-LAB | lab(56.27, 87.65, -17.63) |
| CIE-LCH | lch(56.27, 89.41, 348.63°) |
| OKLab | oklab(65.95% 0.2699 -0.046) |
| OKLCH | oklch(65.95% 0.274 350.3) |
| XYZ | xyz(48.3545, 24.1803, 39.1592) |
| Luminance | 0.2417 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Shocking Pink
#FE02A2
ΔE00 1.03
Bright Pink
#FE01B1
ΔE00 1.68
Neon Pink
#FE019A
ΔE00 2.50
Deeppink
#FF1493
ΔE00 4.13
Electric Pink
#FF0490
ΔE00 4.54
Barbie Pink
#FE46A5
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF04A8 #04FF5B
analogous
#D904FF #FF04A8 #FF042A
triadic
#FF04A8 #A8FF04 #04A8FF
tetradic
#FF04A8 #FFD904 #04FF5B #042AFF
square
#FF04A8 #FFD904 #04FF5B #042AFF
split-complementary
#FF04A8 #2AFF04 #04FFD9
monochromatic
#890059 #C60081 #FF04A8 #FF41BD #FF7ED2
Accessibility & contrast
On white
3.60
#FF04A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#FF04A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #FF04A8
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF04A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF04A8 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6DAB
Deuteranopia (green-blind)
#9095A3
Tritanopia (blue-blind)
#FF0063
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ff04a8; /* rgb */ color: rgb(255, 4, 168); /* oklch */ color: oklch(66.0% 0.274 350.3);
Tailwind
colors: {
custom: {
50: '#ff78c2',
500: '#ff04a8',
950: '#000000',
},
}SCSS
$custom: #ff04a8; $custom-light: #ff78c2; $custom-dark: #000000;
JSON
{
"hex": "#ff04a8",
"rgb": {
"r": 255,
"g": 4,
"b": 168
},
"hsl": {
"h": 320.797,
"s": 100,
"l": 50.784
},
"oklch": {
"l": 0.65951,
"c": 0.27377,
"h": 350.3
},
"luminance": 0.24174
}Semantic roles & 50–950 ramp
primary
#FF04A8
secondary
#78E79E
accent
#FF7329
background
#FFF8FB
surface
#FFEFF7
border
#D7CAD0
text
#1A0B12
muted
#877C81