#E31246#E31246
#E31246 is a mid, highly saturated red. Relative luminance 0.172; OKLCH L 58.5% C 0.228 H 17.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #E31246 |
|---|---|
| RGB | rgb(227, 18, 70) |
| HSL | hsl(345, 85%, 48%) |
| HSV | hsv(345, 92%, 89%) |
| CMYK | cmyk(0%, 92.1%, 69.2%, 11%) |
| CIE-LAB | lab(48.52, 73.31, 29.71) |
| CIE-LCH | lch(48.52, 79.11, 22.06°) |
| OKLab | oklab(58.51% 0.2174 0.0691) |
| OKLCH | oklch(58.51% 0.228 17.6) |
| XYZ | xyz(33.0043, 17.2111, 7.3775) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson
#DC143C
ΔE00 2.64
Pinkish Red
#F10C45
ΔE00 3.11
Pink Red
#F5054F
ΔE00 3.77
Lipstick
#D5174E
ΔE00 4.32
Cherry (survey)
#CF0234
ΔE00 5.43
Faded Red
#D3494E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E31246 #12E3AF
analogous
#E312AE #E31246 #E34712
triadic
#E31246 #46E312 #1246E3
tetradic
#E31246 #AEE312 #12E3AF #4712E3
square
#E31246 #AEE312 #12E3AF #4712E3
split-complementary
#E31246 #12E347 #12AEE3
monochromatic
#720923 #AA0E35 #E31246 #F0426D #F57B99
Accessibility & contrast
On white
4.73
#E31246 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#E31246 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #E31246
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E31246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##E31246 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5946
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#FA002D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #e31246; /* rgb */ color: rgb(227, 18, 70); /* oklch */ color: oklch(58.5% 0.228 17.6);
Tailwind
colors: {
custom: {
50: '#f67179',
500: '#e31246',
950: '#000000',
},
}SCSS
$custom: #e31246; $custom-light: #f67179; $custom-dark: #000000;
JSON
{
"hex": "#e31246",
"rgb": {
"r": 227,
"g": 18,
"b": 70
},
"hsl": {
"h": 345.072,
"s": 85.306,
"l": 48.039
},
"oklch": {
"l": 0.58507,
"c": 0.22813,
"h": 17.6
},
"luminance": 0.17206
}Semantic roles & 50–950 ramp
primary
#E31246
secondary
#75DCC2
accent
#FCC82C
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#190909
muted
#867B7B