#F254D2#F254D2
#F254D2 is a light, highly saturated pink. Relative luminance 0.299; OKLCH L 69.9% C 0.234 H 336.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F254D2 |
|---|---|
| RGB | rgb(242, 84, 210) |
| HSL | hsl(312, 86%, 64%) |
| HSV | hsv(312, 65%, 95%) |
| CMYK | cmyk(0%, 65.3%, 13.2%, 5.1%) |
| CIE-LAB | lab(61.55, 73.16, -33.85) |
| CIE-LCH | lch(61.55, 80.62, 335.17°) |
| OKLab | oklab(69.92% 0.2148 -0.0919) |
| OKLCH | oklch(69.92% 0.234 336.8) |
| XYZ | xyz(51.4219, 29.8755, 64.0186) |
| Luminance | 0.2987 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.89
Candy Pink
#FF63E9
ΔE00 4.50
Orchid
#DA70D6
ΔE00 5.26
Bright Magenta
#FF08E8
ΔE00 5.69
Light Magenta
#FA5FF7
ΔE00 5.72
Purply Pink
#F075E6
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F254D2 #54F274
analogous
#C354F2 #F254D2 #F25483
triadic
#F254D2 #D2F254 #54D2F2
tetradic
#F254D2 #F2C354 #54F274 #5483F2
square
#F254D2 #F2C354 #54F274 #5483F2
split-complementary
#F254D2 #83F254 #54F2C3
monochromatic
#BD0E9A #EE1BC3 #F254D2 #F68DE1 #FBC6F0
Accessibility & contrast
On white
3.01
#F254D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#F254D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F254D2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F254D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F254D2 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5885D6
Deuteranopia (green-blind)
#8A9DCE
Tritanopia (blue-blind)
#FE5C8C
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #f254d2; /* rgb */ color: rgb(242, 84, 210); /* oklch */ color: oklch(69.9% 0.234 336.8);
Tailwind
colors: {
custom: {
50: '#fa8fe0',
500: '#f254d2',
950: '#000000',
},
}SCSS
$custom: #f254d2; $custom-light: #fa8fe0; $custom-dark: #000000;
JSON
{
"hex": "#f254d2",
"rgb": {
"r": 242,
"g": 84,
"b": 210
},
"hsl": {
"h": 312.152,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.69916,
"c": 0.2336,
"h": 336.8
},
"luminance": 0.29871
}Semantic roles & 50–950 ramp
primary
#F254D2
secondary
#B5EDC0
accent
#E23003
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83