#420917#420917

#420917 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.3% C 0.086 H 12.1°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#420917
RGBrgb(66, 9, 23)
HSLhsl(345, 76%, 15%)
HSVhsv(345, 86%, 26%)
CMYKcmyk(0%, 86.4%, 65.2%, 74.1%)
CIE-LABlab(12.06, 27.73, 7.18)
CIE-LCHlch(12.06, 28.64, 14.52°)
OKLaboklab(25.28% 0.0838 0.0179)
OKLCHoklch(25.28% 0.086 12.1)
XYZxyz(2.4994, 1.4158, 0.9521)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420917 #094234
analogous
#420934 #420917 #421809
triadic
#420917 #174209 #091742
tetradic
#420917 #344209 #094234 #180942
square
#420917 #344209 #094234 #180942
split-complementary
#420917 #094218 #093442
monochromatic
#1B0409 #1B0409 #420917 #78102A #AE183D

Accessibility & contrast

On white

16.37
#420917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#420917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420917
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420917#FFFFFF#000000##FFFFFF
##4209171.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181817
Deuteranopia (green-blind)
#272416
Tritanopia (blue-blind)
#49000F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420917;
/* rgb */ color: rgb(66, 9, 23);
/* oklch */ color: oklch(25.3% 0.086 12.1);
Tailwind
colors: {
  custom: {
    50: '#7b4e53',
    500: '#420917',
    950: '#000000',
  },
}
SCSS
$custom: #420917;
$custom-light: #7b4e53;
$custom-dark: #000000;
JSON
{
  "hex": "#420917",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 23
  },
  "hsl": {
    "h": 345.263,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25284,
    "c": 0.08565,
    "h": 12.1
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#420917
secondary
#27806A
accent
#F3C435
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #420917

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

Preview Lab → · Contrast checker → · Palette generator →

#420917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva