#F28EA7#F28EA7
#F28EA7 is a light, vivid red. Relative luminance 0.410; OKLCH L 75.9% C 0.124 H 4.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F28EA7 |
|---|---|
| RGB | rgb(242, 142, 167) |
| HSL | hsl(345, 79%, 75%) |
| HSV | hsv(345, 41%, 95%) |
| CMYK | cmyk(0%, 41.3%, 31%, 5.1%) |
| CIE-LAB | lab(70.19, 40.73, 3.40) |
| CIE-LCH | lch(70.19, 40.88, 4.77°) |
| OKLab | oklab(75.88% 0.1235 0.0094) |
| OKLCH | oklch(75.88% 0.124 4.4) |
| XYZ | xyz(53.2679, 41.0175, 41.6634) |
| Luminance | 0.4101 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pig Pink
#E78EA5
ΔE00 1.94
Rosa
#FE86A4
ΔE00 2.69
Pinky
#FC86AA
ΔE00 2.87
Rose Pink
#F7879A
ΔE00 3.42
Carnation Pink
#FF7FA7
ΔE00 4.12
Dull Pink
#D5869D
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F28EA7 #8EF2D9
analogous
#F28ED9 #F28EA7 #F2A78E
triadic
#F28EA7 #A7F28E #8EA7F2
tetradic
#F28EA7 #D9F28E #8EF2D9 #A78EF2
square
#F28EA7 #D9F28E #8EF2D9 #A78EF2
split-complementary
#F28EA7 #8EF2A7 #8ED9F2
monochromatic
#E52052 #EC577C #F28EA7 #F8C5D2 #FCE4EA
Accessibility & contrast
On white
2.28
#F28EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#F28EA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F28EA7
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F28EA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F28EA7 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9EA0A8
Deuteranopia (green-blind)
#B7B3A5
Tritanopia (blue-blind)
#FF8697
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #f28ea7; /* rgb */ color: rgb(242, 142, 167); /* oklch */ color: oklch(75.9% 0.124 4.4);
Tailwind
colors: {
custom: {
50: '#f9b1c1',
500: '#f28ea7',
950: '#000000',
},
}SCSS
$custom: #f28ea7; $custom-light: #f9b1c1; $custom-dark: #000000;
JSON
{
"hex": "#f28ea7",
"rgb": {
"r": 242,
"g": 142,
"b": 167
},
"hsl": {
"h": 345,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.75881,
"c": 0.12381,
"h": 4.4
},
"luminance": 0.41013
}Semantic roles & 50–950 ramp
primary
#F28EA7
secondary
#D7F4ED
accent
#DCA70A
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#181112
muted
#868081