#70172A#70172A

#70172A is a dark, vivid red. Relative luminance 0.042; OKLCH L 36.4% C 0.122 H 13.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#70172A
RGBrgb(112, 23, 42)
HSLhsl(347, 66%, 26%)
HSVhsv(347, 79%, 44%)
CMYKcmyk(0%, 79.5%, 62.5%, 56.1%)
CIE-LABlab(24.40, 39.41, 11.95)
CIE-LCHlch(24.40, 41.19, 16.87°)
OKLaboklab(36.38% 0.1186 0.0294)
OKLCHoklch(36.38% 0.122 13.9)
XYZxyz(7.4072, 4.2258, 2.6157)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70172A #17705D
analogous
#701757 #70172A #703117
triadic
#70172A #2A7017 #172A70
tetradic
#70172A #577017 #17705D #311770
square
#70172A #577017 #17705D #311770
split-complementary
#70172A #177031 #175770
monochromatic
#19050A #3D0D17 #70172A #A3213D #D42D51

Accessibility & contrast

On white

11.38
#70172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#70172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70172A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70172A#FFFFFF#000000##FFFFFF
##70172A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2A
Deuteranopia (green-blind)
#464128
Tritanopia (blue-blind)
#7B001F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #70172a;
/* rgb */ color: rgb(112, 23, 42);
/* oklch */ color: oklch(36.4% 0.122 13.9);
Tailwind
colors: {
  custom: {
    50: '#9f5d63',
    500: '#70172a',
    950: '#000000',
  },
}
SCSS
$custom: #70172a;
$custom-light: #9f5d63;
$custom-dark: #000000;
JSON
{
  "hex": "#70172a",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 347.191,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.12215,
    "h": 13.9
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#70172A
secondary
#3DA68F
accent
#E9C53F
background
#FAF5F5
surface
#F4E9EA
border
#CEC5C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #70172A

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

Preview Lab → · Contrast checker → · Palette generator →

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