#C8170E#C8170E
#C8170E is a mid, highly saturated red. Relative luminance 0.129; OKLCH L 53.0% C 0.207 H 29.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C8170E |
|---|---|
| RGB | rgb(200, 23, 14) |
| HSL | hsl(3, 87%, 42%) |
| HSV | hsv(3, 93%, 78%) |
| CMYK | cmyk(0%, 88.5%, 93%, 21.6%) |
| CIE-LAB | lab(42.65, 64.12, 51.78) |
| CIE-LCH | lch(42.65, 82.41, 38.92°) |
| OKLab | oklab(53.04% 0.1806 0.1016) |
| OKLCH | oklch(53.04% 0.207 29.4) |
| XYZ | xyz(24.2083, 12.9280, 1.6361) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 4.48
Rusty Red
#AF2F0D
ΔE00 5.15
Red (survey)
#E50000
ΔE00 5.72
Firebrick
#B22222
ΔE00 5.84
Rust Red
#AA2704
ΔE00 6.09
Darkish Red
#A90308
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8170E #0EBFC8
analogous
#C80E62 #C8170E #C8740E
triadic
#C8170E #0EC817 #170EC8
tetradic
#C8170E #62C80E #0EBFC8 #740EC8
square
#C8170E #62C80E #0EBFC8 #740EC8
split-complementary
#C8170E #0EC874 #0E62C8
monochromatic
#560A06 #8F100A #C8170E #F02D24 #F4645D
Accessibility & contrast
On white
5.86
#C8170E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#C8170E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C8170E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C8170E | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D06
Deuteranopia (green-blind)
#817200
Tritanopia (blue-blind)
#DD0019
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c8170e; /* rgb */ color: rgb(200, 23, 14); /* oklch */ color: oklch(53.0% 0.207 29.4);
Tailwind
colors: {
custom: {
50: '#e56c53',
500: '#c8170e',
950: '#000000',
},
}SCSS
$custom: #c8170e; $custom-light: #e56c53; $custom-dark: #000000;
JSON
{
"hex": "#c8170e",
"rgb": {
"r": 200,
"g": 23,
"b": 14
},
"hsl": {
"h": 2.903,
"s": 86.916,
"l": 41.961
},
"oklch": {
"l": 0.53043,
"c": 0.20724,
"h": 29.4
},
"luminance": 0.12924
}Semantic roles & 50–950 ramp
primary
#C8170E
secondary
#5BD1D7
accent
#F3FD2B
background
#FFF7F4
surface
#FFEDE7
border
#D7C8C3
text
#180803
muted
#867B78