#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
RGBrgb(200, 23, 14)
HSLhsl(3, 87%, 42%)
HSVhsv(3, 93%, 78%)
CMYKcmyk(0%, 88.5%, 93%, 21.6%)
CIE-LABlab(42.65, 64.12, 51.78)
CIE-LCHlch(42.65, 82.41, 38.92°)
OKLaboklab(53.04% 0.1806 0.1016)
OKLCHoklch(53.04% 0.207 29.4)
XYZxyz(24.2083, 12.9280, 1.6361)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##C8170E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.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

Preview Lab

Preview with #C8170E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C8170E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva