#42170D#42170D

#42170D is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.070 H 34.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#42170D
RGBrgb(66, 23, 13)
HSLhsl(11, 67%, 15%)
HSVhsv(11, 80%, 26%)
CMYKcmyk(0%, 65.2%, 80.3%, 74.1%)
CIE-LABlab(14.40, 20.11, 16.39)
CIE-LCHlch(14.40, 25.95, 39.19°)
OKLaboklab(26.97% 0.0574 0.0394)
OKLCHoklch(26.97% 0.07 34.5)
XYZxyz(2.6261, 1.8004, 0.5899)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42170D #0D3842
analogous
#420D1D #42170D #42310D
triadic
#42170D #0D4217 #170D42
tetradic
#42170D #1D420D #0D3842 #310D42
square
#42170D #1D420D #0D3842 #310D42
split-complementary
#42170D #0D4231 #0D1D42
monochromatic
#1A0905 #1A0905 #42170D #752917 #A83B21

Accessibility & contrast

On white

15.44
#42170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#42170D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42170D
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42170D#FFFFFF#000000##FFFFFF
##42170D1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0C
Deuteranopia (green-blind)
#2D280C
Tritanopia (blue-blind)
#490E15
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42170d;
/* rgb */ color: rgb(66, 23, 13);
/* oklch */ color: oklch(27.0% 0.070 34.5);
Tailwind
colors: {
  custom: {
    50: '#7b564c',
    500: '#42170d',
    950: '#000000',
  },
}
SCSS
$custom: #42170d;
$custom-light: #7b564c;
$custom-dark: #000000;
JSON
{
  "hex": "#42170d",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 11.321,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26972,
    "c": 0.0696,
    "h": 34.5
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#42170D
secondary
#2D6E7E
accent
#CAEA3E
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42170D

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

Preview Lab → · Contrast checker → · Palette generator →

#42170D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva