#E172D2#E172D2
#E172D2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.179 H 332.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E172D2 |
|---|---|
| RGB | rgb(225, 114, 210) |
| HSL | hsl(308, 65%, 66%) |
| HSV | hsv(308, 49%, 88%) |
| CMYK | cmyk(0%, 49.3%, 6.7%, 11.8%) |
| CIE-LAB | lab(63.92, 55.64, -30.36) |
| CIE-LCH | lch(63.92, 63.38, 331.38°) |
| OKLab | oklab(71.17% 0.1591 -0.0825) |
| OKLCH | oklch(71.17% 0.179 332.6) |
| XYZ | xyz(48.7013, 32.6984, 64.7065) |
| Luminance | 0.3270 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.96
Purply Pink
#F075E6
ΔE00 3.52
Lavender Pink
#DD85D7
ΔE00 4.09
Orchid (survey)
#C875C4
ΔE00 4.41
Candy Pink
#FF63E9
ΔE00 5.18
Violet (CSS)
#EE82EE
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172D2 #72E181
analogous
#B972E1 #E172D2 #E1729B
triadic
#E172D2 #D2E172 #72D2E1
tetradic
#E172D2 #E1B972 #72E181 #729BE1
square
#E172D2 #E1B972 #72E181 #729BE1
split-complementary
#E172D2 #9BE172 #72E1B9
monochromatic
#B326A0 #D640C2 #E172D2 #ECA4E2 #F6D7F2
Accessibility & contrast
On white
2.79
#E172D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#E172D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172D2
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172D2 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#8FA1CF
Tritanopia (blue-blind)
#E97998
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e172d2; /* rgb */ color: rgb(225, 114, 210); /* oklch */ color: oklch(71.2% 0.179 332.6);
Tailwind
colors: {
custom: {
50: '#ed9ee0',
500: '#e172d2',
950: '#000000',
},
}SCSS
$custom: #e172d2; $custom-light: #ed9ee0; $custom-dark: #000000;
JSON
{
"hex": "#e172d2",
"rgb": {
"r": 225,
"g": 114,
"b": 210
},
"hsl": {
"h": 308.108,
"s": 64.912,
"l": 66.471
},
"oklch": {
"l": 0.71174,
"c": 0.17926,
"h": 332.6
},
"luminance": 0.32695
}Semantic roles & 50–950 ramp
primary
#E172D2
secondary
#C5E9CA
accent
#CD3119
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83