#70171B#70171B

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

Color values

HEX#70171B
RGBrgb(112, 23, 27)
HSLhsl(357, 66%, 26%)
HSVhsv(357, 79%, 44%)
CMYKcmyk(0%, 79.5%, 75.9%, 56.1%)
CIE-LABlab(24.12, 38.49, 21.69)
CIE-LCHlch(24.12, 44.19, 29.40°)
OKLaboklab(36.08% 0.1122 0.0494)
OKLCHoklch(36.08% 0.123 23.8)
XYZxyz(7.1871, 4.1378, 1.4569)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70171B #17706C
analogous
#701748 #70171B #704017
triadic
#70171B #1B7017 #171B70
tetradic
#70171B #487017 #17706C #401770
square
#70171B #487017 #17706C #401770
split-complementary
#70171B #177040 #174870
monochromatic
#190506 #3D0D0F #70171B #A32127 #D42D35

Accessibility & contrast

On white

11.49
#70171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70171B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70171B#FFFFFF#000000##FFFFFF
##70171B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D1A
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#7C0019
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #70171b;
/* rgb */ color: rgb(112, 23, 27);
/* oklch */ color: oklch(36.1% 0.123 23.8);
Tailwind
colors: {
  custom: {
    50: '#a05d57',
    500: '#70171b',
    950: '#000000',
  },
}
SCSS
$custom: #70171b;
$custom-light: #a05d57;
$custom-dark: #000000;
JSON
{
  "hex": "#70171b",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.303,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.12261,
    "h": 23.8
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#70171B
secondary
#3DA6A1
accent
#E9E13F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #70171B

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

Preview Lab → · Contrast checker → · Palette generator →

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