#E2287F#E2287F
#E2287F is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.7% C 0.225 H 359.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #E2287F |
|---|---|
| RGB | rgb(226, 40, 127) |
| HSL | hsl(332, 76%, 52%) |
| HSV | hsv(332, 82%, 89%) |
| CMYK | cmyk(0%, 82.3%, 43.8%, 11.4%) |
| CIE-LAB | lab(50.95, 73.05, -1.74) |
| CIE-LCH | lch(50.95, 73.07, 358.64°) |
| OKLab | oklab(60.67% 0.2249 -0.0037) |
| OKLCH | oklch(60.67% 0.225 359.1) |
| XYZ | xyz(35.9565, 19.2236, 21.8917) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.67
Strong Pink
#FF0789
ΔE00 4.98
Hot Pink (survey)
#FF028D
ΔE00 5.05
Rose
#FF007F
ΔE00 5.19
Electric Pink
#FF0490
ΔE00 5.25
Dark Hot Pink
#D90166
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2287F #28E28B
analogous
#E228DC #E2287F #E22E28
triadic
#E2287F #7FE228 #287FE2
tetradic
#E2287F #DCE228 #28E28B #2E28E2
square
#E2287F #DCE228 #28E28B #2E28E2
split-complementary
#E2287F #28E22E #28DCE2
monochromatic
#7F1144 #B41861 #E2287F #E95E9F #F194BF
Accessibility & contrast
On white
4.34
#E2287F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#E2287F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E2287F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2287F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2287F | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#F50051
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #e2287f; /* rgb */ color: rgb(226, 40, 127); /* oklch */ color: oklch(60.7% 0.225 359.1);
Tailwind
colors: {
custom: {
50: '#f178a3',
500: '#e2287f',
950: '#000000',
},
}SCSS
$custom: #e2287f; $custom-light: #f178a3; $custom-dark: #000000;
JSON
{
"hex": "#e2287f",
"rgb": {
"r": 226,
"g": 40,
"b": 127
},
"hsl": {
"h": 331.935,
"s": 76.23,
"l": 52.157
},
"oklch": {
"l": 0.60674,
"c": 0.22492,
"h": 359.1
},
"luminance": 0.19219
}Semantic roles & 50–950 ramp
primary
#E2287F
secondary
#8ADCB6
accent
#F39A35
background
#FFF8FA
surface
#FFEFF3
border
#D7CACD
text
#180A0F
muted
#867C7F