#E338B7#E338B7
#E338B7 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 64.1% C 0.239 H 340.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #E338B7 |
|---|---|
| RGB | rgb(227, 56, 183) |
| HSL | hsl(315, 75%, 55%) |
| HSV | hsv(315, 75%, 89%) |
| CMYK | cmyk(0%, 75.3%, 19.4%, 11%) |
| CIE-LAB | lab(54.64, 75.27, -29.31) |
| CIE-LCH | lch(54.64, 80.78, 338.72°) |
| OKLab | oklab(64.06% 0.2252 -0.079) |
| OKLCH | oklch(64.06% 0.239 340.7) |
| XYZ | xyz(41.6412, 22.5824, 46.9564) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Hot Magenta
#F504C9
ΔE00 3.52
Purpleish Pink
#DF4EC8
ΔE00 3.89
Bright Pink
#FE01B1
ΔE00 4.51
Pinky Purple
#C94CBE
ΔE00 4.89
Purpley Pink
#C83CB9
ΔE00 5.46
Fuchsia (survey)
#ED0DD9
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E338B7 #38E364
analogous
#BA38E3 #E338B7 #E33861
triadic
#E338B7 #B7E338 #38B7E3
tetradic
#E338B7 #E3BA38 #38E364 #3861E3
square
#E338B7 #E3BA38 #38E364 #3861E3
split-complementary
#E338B7 #61E338 #38E3BA
monochromatic
#8D146E #C21B97 #E338B7 #EB6ECA #F2A3DE
Accessibility & contrast
On white
3.81
#E338B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#E338B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E338B7
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E338B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E338B7 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7E8CB3
Tritanopia (blue-blind)
#F13D74
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #e338b7; /* rgb */ color: rgb(227, 56, 183); /* oklch */ color: oklch(64.1% 0.239 340.7);
Tailwind
colors: {
custom: {
50: '#f080cd',
500: '#e338b7',
950: '#000000',
},
}SCSS
$custom: #e338b7; $custom-light: #f080cd; $custom-dark: #000000;
JSON
{
"hex": "#e338b7",
"rgb": {
"r": 227,
"g": 56,
"b": 183
},
"hsl": {
"h": 315.439,
"s": 75.33,
"l": 55.49
},
"oklch": {
"l": 0.64064,
"c": 0.23867,
"h": 340.7
},
"luminance": 0.22578
}Semantic roles & 50–950 ramp
primary
#E338B7
secondary
#98DFAA
accent
#F26636
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170B13
muted
#857C82