#FB2ED8#FB2ED8
#FB2ED8 is a light, highly saturated pink. Relative luminance 0.274; OKLCH L 68.7% C 0.280 H 336.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #FB2ED8 |
|---|---|
| RGB | rgb(251, 46, 216) |
| HSL | hsl(310, 96%, 58%) |
| HSV | hsv(310, 82%, 98%) |
| CMYK | cmyk(0%, 81.7%, 13.9%, 1.6%) |
| CIE-LAB | lab(59.37, 87.09, -40.55) |
| CIE-LCH | lch(59.37, 96.07, 335.04°) |
| OKLab | oklab(68.71% 0.2568 -0.1106) |
| OKLCH | oklch(68.71% 0.28 336.7) |
| XYZ | xyz(53.1564, 27.4263, 67.4467) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bright Magenta
#FF08E8
ΔE00 2.54
Hot Magenta
#F504C9
ΔE00 3.46
Pink Purple
#EF1DE7
ΔE00 4.09
Fuchsia (survey)
#ED0DD9
ΔE00 4.15
Purpleish Pink
#DF4EC8
ΔE00 4.28
Magenta
#FF00FF
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB2ED8 #2EFB51
analogous
#B72EFB #FB2ED8 #FB2E71
triadic
#FB2ED8 #D8FB2E #2ED8FB
tetradic
#FB2ED8 #FBB72E #2EFB51 #2E71FB
square
#FB2ED8 #FBB72E #2EFB51 #2E71FB
split-complementary
#FB2ED8 #71FB2E #2EFBB7
monochromatic
#AB038F #E704C1 #FB2ED8 #FC6AE3 #FDA6EE
Accessibility & contrast
On white
3.24
#FB2ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#FB2ED8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #FB2ED8
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB2ED8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB2ED8 | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#357CDC
Deuteranopia (green-blind)
#819AD4
Tritanopia (blue-blind)
#FF4084
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #fb2ed8; /* rgb */ color: rgb(251, 46, 216); /* oklch */ color: oklch(68.7% 0.280 336.7);
Tailwind
colors: {
custom: {
50: '#ff81e4',
500: '#fb2ed8',
950: '#000000',
},
}SCSS
$custom: #fb2ed8; $custom-light: #ff81e4; $custom-dark: #000000;
JSON
{
"hex": "#fb2ed8",
"rgb": {
"r": 251,
"g": 46,
"b": 216
},
"hsl": {
"h": 310.244,
"s": 96.244,
"l": 58.235
},
"oklch": {
"l": 0.68706,
"c": 0.27962,
"h": 336.7
},
"luminance": 0.27421
}Semantic roles & 50–950 ramp
primary
#FB2ED8
secondary
#9AEBA8
accent
#FF4D29
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C15
muted
#877D84