#9E312A#9E312A
#9E312A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.146 H 27.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E312A |
|---|---|
| RGB | rgb(158, 49, 42) |
| HSL | hsl(4, 58%, 39%) |
| HSV | hsv(4, 73%, 62%) |
| CMYK | cmyk(0%, 69%, 73.4%, 38%) |
| CIE-LAB | lab(37.18, 44.64, 29.79) |
| CIE-LCH | lch(37.18, 53.67, 33.72°) |
| OKLab | oklab(47.56% 0.129 0.0677) |
| OKLCH | oklch(47.56% 0.146 27.7) |
| XYZ | xyz(15.6185, 9.6352, 3.2274) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.85
Brownish Red
#9E3623
ΔE00 3.41
Brick
#A03623
ΔE00 3.48
Firebrick
#B22222
ΔE00 4.05
Carmine
#9D0216
ΔE00 5.26
Darkish Red
#A90308
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E312A #2A979E
analogous
#9E2A5D #9E312A #9E6B2A
triadic
#9E312A #2A9E31 #312A9E
tetradic
#9E312A #5D9E2A #2A979E #6B2A9E
square
#9E312A #5D9E2A #2A979E #6B2A9E
split-complementary
#9E312A #2A9E6B #2A5D9E
monochromatic
#3D1310 #6E221D #9E312A #CB433A #D8716B
Accessibility & contrast
On white
7.18
#9E312A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E312A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E312A
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E312A | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504828
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#AE1030
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e312a; /* rgb */ color: rgb(158, 49, 42); /* oklch */ color: oklch(47.6% 0.146 27.7);
Tailwind
colors: {
custom: {
50: '#c27064',
500: '#9e312a',
950: '#000000',
},
}SCSS
$custom: #9e312a; $custom-light: #c27064; $custom-dark: #000000;
JSON
{
"hex": "#9e312a",
"rgb": {
"r": 158,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.621,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.47558,
"c": 0.14566,
"h": 27.7
},
"luminance": 0.09633
}Semantic roles & 50–950 ramp
primary
#9E312A
secondary
#66B9BE
accent
#D8E147
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140805
muted
#827B7A