#E312BB#E312BB
#E312BB is a light, highly saturated pink. Relative luminance 0.204; OKLCH L 62.4% C 0.266 H 338.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #E312BB |
|---|---|
| RGB | rgb(227, 18, 187) |
| HSL | hsl(311, 85%, 48%) |
| HSV | hsv(311, 92%, 89%) |
| CMYK | cmyk(0%, 92.1%, 17.6%, 11%) |
| CIE-LAB | lab(52.24, 83.25, -35.39) |
| CIE-LCH | lch(52.24, 90.46, 336.97°) |
| OKLab | oklab(62.4% 0.2483 -0.0962) |
| OKLCH | oklch(62.4% 0.266 338.8) |
| XYZ | xyz(40.8657, 20.3557, 48.7810) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Hot Magenta
#F504C9
ΔE00 3.65
Purpley Pink
#C83CB9
ΔE00 4.29
Fuchsia (survey)
#ED0DD9
ΔE00 4.62
Pinky Purple
#C94CBE
ΔE00 5.31
Purpleish Pink
#DF4EC8
ΔE00 5.92
Bright Pink
#FE01B1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E312BB #12E33A
analogous
#A212E3 #E312BB #E31253
triadic
#E312BB #BBE312 #12BBE3
tetradic
#E312BB #E3A212 #12E33A #1253E3
square
#E312BB #E3A212 #12E33A #1253E3
split-complementary
#E312BB #53E312 #12E3A2
monochromatic
#72095E #AA0E8C #E312BB #F042CF #F57BDD
Accessibility & contrast
On white
4.14
#E312BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#E312BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E312BB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E312BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E312BB | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#7487B7
Tritanopia (blue-blind)
#F0256F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #e312bb; /* rgb */ color: rgb(227, 18, 187); /* oklch */ color: oklch(62.4% 0.266 338.8);
Tailwind
colors: {
custom: {
50: '#f175d0',
500: '#e312bb',
950: '#000000',
},
}SCSS
$custom: #e312bb; $custom-light: #f175d0; $custom-dark: #000000;
JSON
{
"hex": "#e312bb",
"rgb": {
"r": 227,
"g": 18,
"b": 187
},
"hsl": {
"h": 311.483,
"s": 85.306,
"l": 48.039
},
"oklch": {
"l": 0.62399,
"c": 0.26631,
"h": 338.8
},
"luminance": 0.20351
}Semantic roles & 50–950 ramp
primary
#E312BB
secondary
#75DC88
accent
#FC542C
background
#FFF8FC
surface
#FFEFF9
border
#D7CAD2
text
#180A14
muted
#867C82