#E228B2#E228B2
#E228B2 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.7% C 0.249 H 341.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E228B2 |
|---|---|
| RGB | rgb(226, 40, 178) |
| HSL | hsl(315, 76%, 52%) |
| HSV | hsv(315, 82%, 89%) |
| CMYK | cmyk(0%, 82.3%, 21.2%, 11.4%) |
| CIE-LAB | lab(52.85, 78.45, -29.20) |
| CIE-LCH | lch(52.85, 83.70, 339.58°) |
| OKLab | oklab(62.67% 0.236 -0.0786) |
| OKLCH | oklch(62.67% 0.249 341.6) |
| XYZ | xyz(40.1602, 20.9050, 44.0310) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Hot Magenta
#F504C9
ΔE00 4.08
Bright Pink
#FE01B1
ΔE00 4.86
Purpley Pink
#C83CB9
ΔE00 4.95
Pinky Purple
#C94CBE
ΔE00 5.42
Purpleish Pink
#DF4EC8
ΔE00 5.58
Fuchsia (survey)
#ED0DD9
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E228B2 #28E258
analogous
#B528E2 #E228B2 #E22855
triadic
#E228B2 #B2E228 #28B2E2
tetradic
#E228B2 #E2B528 #28E258 #2855E2
square
#E228B2 #E2B528 #28E258 #2855E2
split-complementary
#E228B2 #55E228 #28E2B5
monochromatic
#7F1162 #B4188C #E228B2 #E95EC5 #F194D9
Accessibility & contrast
On white
4.05
#E228B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#E228B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E228B2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E228B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E228B2 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#7A89AE
Tritanopia (blue-blind)
#F02D6D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #e228b2; /* rgb */ color: rgb(226, 40, 178); /* oklch */ color: oklch(62.7% 0.249 341.6);
Tailwind
colors: {
custom: {
50: '#f07ac9',
500: '#e228b2',
950: '#000000',
},
}SCSS
$custom: #e228b2; $custom-light: #f07ac9; $custom-dark: #000000;
JSON
{
"hex": "#e228b2",
"rgb": {
"r": 226,
"g": 40,
"b": 178
},
"hsl": {
"h": 315.484,
"s": 76.23,
"l": 52.157
},
"oklch": {
"l": 0.62668,
"c": 0.24876,
"h": 341.6
},
"luminance": 0.20901
}Semantic roles & 50–950 ramp
primary
#E228B2
secondary
#8ADC9F
accent
#F36635
background
#FFF8FC
surface
#FFEFF8
border
#D7CAD1
text
#170B13
muted
#857C82