#E8318F#E8318F
#E8318F is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.8% C 0.228 H 355.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E8318F |
|---|---|
| RGB | rgb(232, 49, 143) |
| HSL | hsl(329, 80%, 55%) |
| HSV | hsv(329, 79%, 91%) |
| CMYK | cmyk(0%, 78.9%, 38.4%, 9%) |
| CIE-LAB | lab(53.32, 73.82, -7.71) |
| CIE-LCH | lch(53.32, 74.22, 354.04°) |
| OKLab | oklab(62.77% 0.2271 -0.0194) |
| OKLCH | oklch(62.77% 0.228 355.1) |
| XYZ | xyz(39.3377, 21.3406, 28.0289) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Neon Pink
#FE019A
ΔE00 3.50
Electric Pink
#FF0490
ΔE00 3.54
Deeppink
#FF1493
ΔE00 3.58
Hot Pink (survey)
#FF028D
ΔE00 3.71
Strong Pink
#FF0789
ΔE00 4.15
Shocking Pink
#FE02A2
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8318F #31E88A
analogous
#E531E8 #E8318F #E83134
triadic
#E8318F #8FE831 #318FE8
tetradic
#E8318F #E8E531 #31E88A #3134E8
square
#E8318F #E8E531 #31E88A #3134E8
split-complementary
#E8318F #34E831 #31E8E5
monochromatic
#8F1051 #C61670 #E8318F #EE68AD #F49FCB
Accessibility & contrast
On white
3.99
#E8318F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#E8318F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E8318F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8318F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8318F | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#8C8B8B
Tritanopia (blue-blind)
#FB125D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #e8318f; /* rgb */ color: rgb(232, 49, 143); /* oklch */ color: oklch(62.8% 0.228 355.1);
Tailwind
colors: {
custom: {
50: '#f57caf',
500: '#e8318f',
950: '#000000',
},
}SCSS
$custom: #e8318f; $custom-light: #f57caf; $custom-dark: #000000;
JSON
{
"hex": "#e8318f",
"rgb": {
"r": 232,
"g": 49,
"b": 143
},
"hsl": {
"h": 329.18,
"s": 79.913,
"l": 55.098
},
"oklch": {
"l": 0.62769,
"c": 0.22792,
"h": 355.1
},
"luminance": 0.21336
}Semantic roles & 50–950 ramp
primary
#E8318F
secondary
#94E1B9
accent
#F69131
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#180B10
muted
#867C7F