#70171D#70171D

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

Color values

HEX#70171D
RGBrgb(112, 23, 29)
HSLhsl(356, 66%, 26%)
HSVhsv(356, 79%, 44%)
CMYKcmyk(0%, 79.5%, 74.1%, 56.1%)
CIE-LABlab(24.15, 38.60, 20.42)
CIE-LCHlch(24.15, 43.66, 27.88°)
OKLaboklab(36.11% 0.113 0.047)
OKLCHoklch(36.11% 0.122 22.6)
XYZxyz(7.2111, 4.1474, 1.5830)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70171D #17706A
analogous
#70174A #70171D #703E17
triadic
#70171D #1D7017 #171D70
tetradic
#70171D #4A7017 #17706A #3E1770
square
#70171D #4A7017 #17706A #3E1770
split-complementary
#70171D #17703E #174A70
monochromatic
#190507 #3D0D10 #70171D #A3212A #D42D39

Accessibility & contrast

On white

11.48
#70171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70171D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70171D#FFFFFF#000000##FFFFFF
##70171D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70171d;
/* rgb */ color: rgb(112, 23, 29);
/* oklch */ color: oklch(36.1% 0.122 22.6);
Tailwind
colors: {
  custom: {
    50: '#a05d59',
    500: '#70171d',
    950: '#000000',
  },
}
SCSS
$custom: #70171d;
$custom-light: #a05d59;
$custom-dark: #000000;
JSON
{
  "hex": "#70171d",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 355.955,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36111,
    "c": 0.12242,
    "h": 22.6
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#70171D
secondary
#3DA69F
accent
#E9DD3F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #70171D

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

Preview Lab → · Contrast checker → · Palette generator →

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