#70171B#70171B
#70171B is a dark, vivid red. Relative luminance 0.041; OKLCH L 36.1% C 0.123 H 23.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #70171B |
|---|---|
| RGB | rgb(112, 23, 27) |
| HSL | hsl(357, 66%, 26%) |
| HSV | hsv(357, 79%, 44%) |
| CMYK | cmyk(0%, 79.5%, 75.9%, 56.1%) |
| CIE-LAB | lab(24.12, 38.49, 21.69) |
| CIE-LCH | lch(24.12, 44.19, 29.40°) |
| OKLab | oklab(36.08% 0.1122 0.0494) |
| OKLCH | oklch(36.08% 0.123 23.8) |
| XYZ | xyz(7.1871, 4.1378, 1.4569) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.82
Claret
#680018
ΔE00 4.07
Burgundy
#800020
ΔE00 4.38
Wine Red
#7B0323
ΔE00 4.84
Reddy Brown
#6E1005
ΔE00 5.58
Blood
#770001
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#70171B #17706C
analogous
#701748 #70171B #704017
triadic
#70171B #1B7017 #171B70
tetradic
#70171B #487017 #17706C #401770
square
#70171B #487017 #17706C #401770
split-complementary
#70171B #177040 #174870
monochromatic
#190506 #3D0D0F #70171B #A32127 #D42D35
Accessibility & contrast
On white
11.49
#70171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#70171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #70171B
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##70171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##70171B | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#322D1A
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#7C0019
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #70171b; /* rgb */ color: rgb(112, 23, 27); /* oklch */ color: oklch(36.1% 0.123 23.8);
Tailwind
colors: {
custom: {
50: '#a05d57',
500: '#70171b',
950: '#000000',
},
}SCSS
$custom: #70171b; $custom-light: #a05d57; $custom-dark: #000000;
JSON
{
"hex": "#70171b",
"rgb": {
"r": 112,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.303,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.36078,
"c": 0.12261,
"h": 23.8
},
"luminance": 0.04137
}Semantic roles & 50–950 ramp
primary
#70171B
secondary
#3DA6A1
accent
#E9E13F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978