#70171F#70171F

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

Color values

HEX#70171F
RGBrgb(112, 23, 31)
HSLhsl(355, 66%, 26%)
HSVhsv(355, 79%, 44%)
CMYKcmyk(0%, 79.5%, 72.3%, 56.1%)
CIE-LABlab(24.19, 38.70, 19.13)
CIE-LCHlch(24.19, 43.17, 26.30°)
OKLaboklab(36.15% 0.1139 0.0445)
OKLCHoklch(36.15% 0.122 21.4)
XYZxyz(7.2366, 4.1576, 1.7175)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70171F #177068
analogous
#70174C #70171F #703C17
triadic
#70171F #1F7017 #171F70
tetradic
#70171F #4C7017 #177068 #3C1770
square
#70171F #4C7017 #177068 #3C1770
split-complementary
#70171F #17703C #174C70
monochromatic
#190507 #3D0D11 #70171F #A3212D #D42D3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70171F#FFFFFF#000000##FFFFFF
##70171F1.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)
#312D1F
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#7C001B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #70171f;
/* rgb */ color: rgb(112, 23, 31);
/* oklch */ color: oklch(36.1% 0.122 21.4);
Tailwind
colors: {
  custom: {
    50: '#a05d5a',
    500: '#70171f',
    950: '#000000',
  },
}
SCSS
$custom: #70171f;
$custom-light: #a05d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#70171f",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 354.607,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.12225,
    "h": 21.4
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#70171F
secondary
#3DA69C
accent
#E9DA3F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #70171F

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

Preview Lab → · Contrast checker → · Palette generator →

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