#FF51E2#FF51E2
#FF51E2 is a light, highly saturated pink. Relative luminance 0.326; OKLCH L 72.2% C 0.256 H 335.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #FF51E2 |
|---|---|
| RGB | rgb(255, 81, 226) |
| HSL | hsl(310, 100%, 66%) |
| HSV | hsv(310, 68%, 100%) |
| CMYK | cmyk(0%, 68.2%, 11.4%, 0%) |
| CIE-LAB | lab(63.87, 79.62, -39.07) |
| CIE-LCH | lch(63.87, 88.69, 333.86°) |
| OKLab | oklab(72.22% 0.2324 -0.1066) |
| OKLCH | oklch(72.22% 0.256 335.4) |
| XYZ | xyz(57.9106, 32.6408, 75.1871) |
| Luminance | 0.3264 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.60
Light Magenta
#FA5FF7
ΔE00 3.69
Violet Pink
#FB5FFC
ΔE00 4.31
Purply Pink
#F075E6
ΔE00 5.15
Bright Magenta
#FF08E8
ΔE00 5.32
Purpleish Pink
#DF4EC8
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF51E2 #51FF6E
analogous
#C551FF #FF51E2 #FF518B
triadic
#FF51E2 #E2FF51 #51E2FF
tetradic
#FF51E2 #FFC551 #51FF6E #518BFF
square
#FF51E2 #FFC551 #51FF6E #518BFF
split-complementary
#FF51E2 #8BFF51 #51FFC5
monochromatic
#D600B2 #FF14D8 #FF51E2 #FF8EEC #FFCBF6
Accessibility & contrast
On white
2.79
#FF51E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#FF51E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FF51E2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF51E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF51E2 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#8DA4DE
Tritanopia (blue-blind)
#FF5D93
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ff51e2; /* rgb */ color: rgb(255, 81, 226); /* oklch */ color: oklch(72.2% 0.256 335.4);
Tailwind
colors: {
custom: {
50: '#ff8feb',
500: '#ff51e2',
950: '#000000',
},
}SCSS
$custom: #ff51e2; $custom-light: #ff8feb; $custom-dark: #000000;
JSON
{
"hex": "#ff51e2",
"rgb": {
"r": 255,
"g": 81,
"b": 226
},
"hsl": {
"h": 310,
"s": 100,
"l": 65.882
},
"oklch": {
"l": 0.72218,
"c": 0.25567,
"h": 335.4
},
"luminance": 0.32636
}Semantic roles & 50–950 ramp
primary
#FF51E2
secondary
#B9F3C3
accent
#E62600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84