#70170F#70170F

#70170F is a dark, vivid red. Relative luminance 0.041; OKLCH L 35.9% C 0.124 H 29.6°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#70170F
RGBrgb(112, 23, 15)
HSLhsl(5, 76%, 25%)
HSVhsv(5, 87%, 44%)
CMYKcmyk(0%, 79.5%, 86.6%, 56.1%)
CIE-LABlab(23.98, 38.02, 28.91)
CIE-LCHlch(23.98, 47.76, 37.25°)
OKLaboklab(35.93% 0.108 0.0615)
OKLCHoklch(35.93% 0.124 29.6)
XYZxyz(7.0756, 4.0932, 0.8693)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70170F #0F6870
analogous
#700F38 #70170F #70470F
triadic
#70170F #0F7017 #170F70
tetradic
#70170F #38700F #0F6870 #470F70
square
#70170F #38700F #0F6870 #470F70
split-complementary
#70170F #0F7047 #0F3870
monochromatic
#1B0604 #3A0C08 #70170F #A62216 #DC2D1D

Accessibility & contrast

On white

11.55
#70170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#70170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70170F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70170F#FFFFFF#000000##FFFFFF
##70170F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0D
Deuteranopia (green-blind)
#49400A
Tritanopia (blue-blind)
#7C0016
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #70170f;
/* rgb */ color: rgb(112, 23, 15);
/* oklch */ color: oklch(35.9% 0.124 29.6);
Tailwind
colors: {
  custom: {
    50: '#a15c4e',
    500: '#70170f',
    950: '#000000',
  },
}
SCSS
$custom: #70170f;
$custom-light: #a15c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#70170f",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 4.948,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35925,
    "c": 0.12425,
    "h": 29.6
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#70170F
secondary
#339EA8
accent
#E3F335
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#100401
muted
#7F7977

Preview Lab

Preview with #70170F

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

Preview Lab → · Contrast checker → · Palette generator →

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