#E340B3#E340B3
#E340B3 is a light, highly saturated pink. Relative luminance 0.233; OKLCH L 64.5% C 0.228 H 342.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #E340B3 |
|---|---|
| RGB | rgb(227, 64, 179) |
| HSL | hsl(318, 74%, 57%) |
| HSV | hsv(318, 72%, 89%) |
| CMYK | cmyk(0%, 71.8%, 21.1%, 11%) |
| CIE-LAB | lab(55.34, 72.30, -25.91) |
| CIE-LCH | lch(55.34, 76.80, 340.28°) |
| OKLab | oklab(64.51% 0.2171 -0.0695) |
| OKLCH | oklch(64.51% 0.228 342.2) |
| XYZ | xyz(41.6500, 23.2566, 44.9346) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 4.09
Bright Pink
#FE01B1
ΔE00 4.22
Hot Magenta
#F504C9
ΔE00 4.45
Purplish Pink
#CE5DAE
ΔE00 4.68
Pinky Purple
#C94CBE
ΔE00 5.53
Shocking Pink
#FE02A2
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E340B3 #40E370
analogous
#C240E3 #E340B3 #E34062
triadic
#E340B3 #B3E340 #40B3E3
tetradic
#E340B3 #E3C240 #40E370 #4062E3
square
#E340B3 #E3C240 #40E370 #4062E3
split-complementary
#E340B3 #62E340 #40E3C2
monochromatic
#93166E #C81D96 #E340B3 #EB75C8 #F3ABDD
Accessibility & contrast
On white
3.72
#E340B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#E340B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E340B3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E340B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E340B3 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#828EAF
Tritanopia (blue-blind)
#F14274
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #e340b3; /* rgb */ color: rgb(227, 64, 179); /* oklch */ color: oklch(64.5% 0.228 342.2);
Tailwind
colors: {
custom: {
50: '#f083ca',
500: '#e340b3',
950: '#000000',
},
}SCSS
$custom: #e340b3; $custom-light: #f083ca; $custom-dark: #000000;
JSON
{
"hex": "#e340b3",
"rgb": {
"r": 227,
"g": 64,
"b": 179
},
"hsl": {
"h": 317.669,
"s": 74.429,
"l": 57.059
},
"oklch": {
"l": 0.64513,
"c": 0.22796,
"h": 342.2
},
"luminance": 0.23252
}Semantic roles & 50–950 ramp
primary
#E340B3
secondary
#9EE1B2
accent
#F16E37
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#170C13
muted
#857D82