#70171C#70171C

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

Color values

HEX#70171C
RGBrgb(112, 23, 28)
HSLhsl(357, 66%, 26%)
HSVhsv(357, 79%, 44%)
CMYKcmyk(0%, 79.5%, 75%, 56.1%)
CIE-LABlab(24.14, 38.55, 21.06)
CIE-LCHlch(24.14, 43.92, 28.65°)
OKLaboklab(36.1% 0.1126 0.0482)
OKLCHoklch(36.1% 0.123 23.2)
XYZxyz(7.1989, 4.1425, 1.5189)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70171C #17706B
analogous
#701749 #70171C #703F17
triadic
#70171C #1C7017 #171C70
tetradic
#70171C #497017 #17706B #3F1770
square
#70171C #497017 #17706B #3F1770
split-complementary
#70171C #17703F #174970
monochromatic
#190506 #3D0D0F #70171C #A32129 #D42D37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70171C#FFFFFF#000000##FFFFFF
##70171C1.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)
#322D1B
Deuteranopia (green-blind)
#484019
Tritanopia (blue-blind)
#7C001A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #70171c;
/* rgb */ color: rgb(112, 23, 28);
/* oklch */ color: oklch(36.1% 0.123 23.2);
Tailwind
colors: {
  custom: {
    50: '#a05d58',
    500: '#70171c',
    950: '#000000',
  },
}
SCSS
$custom: #70171c;
$custom-light: #a05d58;
$custom-dark: #000000;
JSON
{
  "hex": "#70171c",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 356.629,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36095,
    "c": 0.12251,
    "h": 23.2
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#70171C
secondary
#3DA6A0
accent
#E9DF3F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #70171C

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

Preview Lab → · Contrast checker → · Palette generator →

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