#70171A#70171A

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

Color values

HEX#70171A
RGBrgb(112, 23, 26)
HSLhsl(358, 66%, 26%)
HSVhsv(358, 79%, 44%)
CMYKcmyk(0%, 79.5%, 76.8%, 56.1%)
CIE-LABlab(24.11, 38.45, 22.33)
CIE-LCHlch(24.11, 44.46, 30.15°)
OKLaboklab(36.06% 0.1118 0.0506)
OKLCHoklch(36.06% 0.123 24.3)
XYZxyz(7.1758, 4.1332, 1.3970)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70171A #17706D
analogous
#701747 #70171A #704117
triadic
#70171A #1A7017 #171A70
tetradic
#70171A #477017 #17706D #411770
square
#70171A #477017 #17706D #411770
split-complementary
#70171A #177041 #174770
monochromatic
#190506 #3D0D0E #70171A #A32126 #D42D33

Accessibility & contrast

On white

11.50
#70171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #70171A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70171A#FFFFFF#000000##FFFFFF
##70171A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70171a;
/* rgb */ color: rgb(112, 23, 26);
/* oklch */ color: oklch(36.1% 0.123 24.3);
Tailwind
colors: {
  custom: {
    50: '#a05d56',
    500: '#70171a',
    950: '#000000',
  },
}
SCSS
$custom: #70171a;
$custom-light: #a05d56;
$custom-dark: #000000;
JSON
{
  "hex": "#70171a",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.978,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.12273,
    "h": 24.3
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#70171A
secondary
#3DA6A2
accent
#E9E33F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #70171A

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

Preview Lab → · Contrast checker → · Palette generator →

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