#42161E#42161E

#42161E is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.2% C 0.069 H 11.7°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#42161E
RGBrgb(66, 22, 30)
HSLhsl(349, 50%, 17%)
HSVhsv(349, 67%, 26%)
CMYKcmyk(0%, 66.7%, 54.5%, 74.1%)
CIE-LABlab(14.55, 22.17, 5.43)
CIE-LCHlch(14.55, 22.82, 13.76°)
OKLaboklab(27.2% 0.0671 0.0139)
OKLCHoklch(27.2% 0.069 11.7)
XYZxyz(2.7682, 1.8261, 1.4347)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42161E #16423A
analogous
#421634 #42161E #422416
triadic
#42161E #1E4216 #161E42
tetradic
#42161E #344216 #16423A #241642
square
#42161E #344216 #16423A #241642
split-complementary
#42161E #164224 #163442
monochromatic
#17080A #17080A #42161E #702533 #9E3548

Accessibility & contrast

On white

15.38
#42161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42161E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42161E
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42161E#FFFFFF#000000##FFFFFF
##42161E1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1E
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#481019
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42161e;
/* rgb */ color: rgb(66, 22, 30);
/* oklch */ color: oklch(27.2% 0.069 11.7);
Tailwind
colors: {
  custom: {
    50: '#795559',
    500: '#42161e',
    950: '#000000',
  },
}
SCSS
$custom: #42161e;
$custom-light: #795559;
$custom-dark: #000000;
JSON
{
  "hex": "#42161e",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 349.091,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.06854,
    "h": 11.7
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#42161E
secondary
#3A796E
accent
#DAC04E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42161E

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

Preview Lab → · Contrast checker → · Palette generator →

#42161E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva