#E17FA2#E17FA2
#E17FA2 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.3% C 0.127 H 358.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #E17FA2 |
|---|---|
| RGB | rgb(225, 127, 162) |
| HSL | hsl(339, 62%, 69%) |
| HSV | hsv(339, 44%, 88%) |
| CMYK | cmyk(0%, 43.6%, 28%, 11.8%) |
| CIE-LAB | lab(64.80, 41.88, -1.89) |
| CIE-LCH | lch(64.80, 41.93, 357.41°) |
| OKLab | oklab(71.3% 0.1266 -0.0044) |
| OKLCH | oklch(71.3% 0.127 358) |
| XYZ | xyz(45.1638, 33.7985, 38.3205) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 3.49
Palevioletred
#DB7093
ΔE00 3.99
Pig Pink
#E78EA5
ΔE00 4.43
Muted Pink
#D1768F
ΔE00 4.59
Pinky
#FC86AA
ΔE00 4.99
Carnation Pink
#FF7FA7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E17FA2 #7FE1BE
analogous
#E17FD3 #E17FA2 #E18D7F
triadic
#E17FA2 #A2E17F #7FA2E1
tetradic
#E17FA2 #D3E17F #7FE1BE #8D7FE1
square
#E17FA2 #D3E17F #7FE1BE #8D7FE1
split-complementary
#E17FA2 #7FE18D #7FD3E1
monochromatic
#BA2C5E #D54D7E #E17FA2 #EDB1C6 #F8E2EA
Accessibility & contrast
On white
2.71
#E17FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#E17FA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E17FA2
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E17FA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E17FA2 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#A5A4A0
Tritanopia (blue-blind)
#EF798B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e17fa2; /* rgb */ color: rgb(225, 127, 162); /* oklch */ color: oklch(71.3% 0.127 358.0);
Tailwind
colors: {
custom: {
50: '#eda6bd',
500: '#e17fa2',
950: '#000000',
},
}SCSS
$custom: #e17fa2; $custom-light: #eda6bd; $custom-dark: #000000;
JSON
{
"hex": "#e17fa2",
"rgb": {
"r": 225,
"g": 127,
"b": 162
},
"hsl": {
"h": 338.571,
"s": 62.025,
"l": 69.02
},
"oklch": {
"l": 0.71296,
"c": 0.12671,
"h": 358
},
"luminance": 0.33795
}Semantic roles & 50–950 ramp
primary
#E17FA2
secondary
#D0ECE2
accent
#CA8C1C
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#170F12
muted
#857F81