#70171E#70171E

#70171E is a dark, vivid red. Relative luminance 0.042; OKLCH L 36.1% C 0.122 H 22.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#70171E
RGBrgb(112, 23, 30)
HSLhsl(355, 66%, 26%)
HSVhsv(355, 79%, 44%)
CMYKcmyk(0%, 79.5%, 73.2%, 56.1%)
CIE-LABlab(24.17, 38.65, 19.77)
CIE-LCHlch(24.17, 43.41, 27.09°)
OKLaboklab(36.13% 0.1134 0.0458)
OKLCHoklch(36.13% 0.122 22)
XYZxyz(7.2236, 4.1524, 1.6492)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70171E #177069
analogous
#70174B #70171E #703D17
triadic
#70171E #1E7017 #171E70
tetradic
#70171E #4B7017 #177069 #3D1770
square
#70171E #4B7017 #177069 #3D1770
split-complementary
#70171E #17703D #174B70
monochromatic
#190507 #3D0D10 #70171E #A3212C #D42D3B

Accessibility & contrast

On white

11.47
#70171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#70171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70171E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70171E#FFFFFF#000000##FFFFFF
##70171E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#48401B
Tritanopia (blue-blind)
#7C001A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #70171e;
/* rgb */ color: rgb(112, 23, 30);
/* oklch */ color: oklch(36.1% 0.122 22.0);
Tailwind
colors: {
  custom: {
    50: '#a05d59',
    500: '#70171e',
    950: '#000000',
  },
}
SCSS
$custom: #70171e;
$custom-light: #a05d59;
$custom-dark: #000000;
JSON
{
  "hex": "#70171e",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 355.281,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36129,
    "c": 0.12233,
    "h": 22
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#70171E
secondary
#3DA69E
accent
#E9DC3F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #70171E

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

Preview Lab → · Contrast checker → · Palette generator →

#70171E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva