#E271D3#E271D3
#E271D3 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.182 H 332.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E271D3 |
|---|---|
| RGB | rgb(226, 113, 211) |
| HSL | hsl(308, 66%, 66%) |
| HSV | hsv(308, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 6.6%, 11.4%) |
| CIE-LAB | lab(63.91, 56.57, -30.93) |
| CIE-LCH | lch(63.91, 64.48, 331.33°) |
| OKLab | oklab(71.21% 0.1618 -0.0841) |
| OKLCH | oklch(71.21% 0.182 332.5) |
| XYZ | xyz(49.0269, 32.6853, 65.3420) |
| Luminance | 0.3268 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.89
Purply Pink
#F075E6
ΔE00 3.36
Lavender Pink
#DD85D7
ΔE00 4.28
Orchid (survey)
#C875C4
ΔE00 4.60
Candy Pink
#FF63E9
ΔE00 4.94
Violet (CSS)
#EE82EE
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271D3 #71E280
analogous
#B971E2 #E271D3 #E2719B
triadic
#E271D3 #D3E271 #71D3E2
tetradic
#E271D3 #E2B971 #71E280 #719BE2
square
#E271D3 #E2B971 #71E280 #719BE2
split-complementary
#E271D3 #9BE271 #71E2B9
monochromatic
#B425A1 #D83EC3 #E271D3 #ECA4E3 #F7D7F2
Accessibility & contrast
On white
2.79
#E271D3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#E271D3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271D3
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271D3 | 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)
#6E91D6
Deuteranopia (green-blind)
#8FA1D0
Tritanopia (blue-blind)
#EA7998
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e271d3; /* rgb */ color: rgb(226, 113, 211); /* oklch */ color: oklch(71.2% 0.182 332.5);
Tailwind
colors: {
custom: {
50: '#ed9ee0',
500: '#e271d3',
950: '#000000',
},
}SCSS
$custom: #e271d3; $custom-light: #ed9ee0; $custom-dark: #000000;
JSON
{
"hex": "#e271d3",
"rgb": {
"r": 226,
"g": 113,
"b": 211
},
"hsl": {
"h": 307.965,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71206,
"c": 0.18236,
"h": 332.5
},
"luminance": 0.32682
}Semantic roles & 50–950 ramp
primary
#E271D3
secondary
#C5EACA
accent
#CE3018
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83