#E170B2#E170B2
#E170B2 is a light, vivid pink. Relative luminance 0.308; OKLCH L 69.6% C 0.159 H 345.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E170B2 |
|---|---|
| RGB | rgb(225, 112, 178) |
| HSL | hsl(325, 65%, 66%) |
| HSV | hsv(325, 50%, 88%) |
| CMYK | cmyk(0%, 50.2%, 20.9%, 11.8%) |
| CIE-LAB | lab(62.35, 51.64, -14.65) |
| CIE-LCH | lch(62.35, 53.68, 344.16°) |
| OKLab | oklab(69.62% 0.1544 -0.0386) |
| OKLCH | oklch(69.62% 0.159 345.9) |
| XYZ | xyz(44.8825, 30.8138, 45.6946) |
| Luminance | 0.3081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 2.95
Hot Pink
#FF69B4
ΔE00 4.99
Bubblegum (survey)
#FF6CB5
ΔE00 5.05
Bubble Gum Pink
#FF69AF
ΔE00 5.43
Purplish Pink
#CE5DAE
ΔE00 6.38
Pink (survey)
#FF81C0
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170B2 #70E19F
analogous
#D870E1 #E170B2 #E17079
triadic
#E170B2 #B2E170 #70B2E1
tetradic
#E170B2 #E1D870 #70E19F #7079E1
square
#E170B2 #E1D870 #70E19F #7079E1
split-complementary
#E170B2 #79E170 #70E1D8
monochromatic
#B12577 #D63D97 #E170B2 #ECA3CD #F6D5E8
Accessibility & contrast
On white
2.93
#E170B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#E170B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170B2
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170B2 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#989EAF
Tritanopia (blue-blind)
#EE6F89
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #e170b2; /* rgb */ color: rgb(225, 112, 178); /* oklch */ color: oklch(69.6% 0.159 345.9);
Tailwind
colors: {
custom: {
50: '#ed9dc9',
500: '#e170b2',
950: '#000000',
},
}SCSS
$custom: #e170b2; $custom-light: #ed9dc9; $custom-dark: #000000;
JSON
{
"hex": "#e170b2",
"rgb": {
"r": 225,
"g": 112,
"b": 178
},
"hsl": {
"h": 324.956,
"s": 65.318,
"l": 66.078
},
"oklch": {
"l": 0.69615,
"c": 0.15914,
"h": 345.9
},
"luminance": 0.3081
}Semantic roles & 50–950 ramp
primary
#E170B2
secondary
#C4E9D3
accent
#CD6418
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170E13
muted
#857E82