#42161A#42161A

#42161A is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.1% C 0.068 H 17.4°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#42161A
RGBrgb(66, 22, 26)
HSLhsl(355, 50%, 17%)
HSVhsv(355, 67%, 26%)
CMYKcmyk(0%, 66.7%, 60.6%, 74.1%)
CIE-LABlab(14.44, 21.74, 8.19)
CIE-LCHlch(14.44, 23.23, 20.65°)
OKLaboklab(27.08% 0.0652 0.0205)
OKLCHoklch(27.08% 0.068 17.4)
XYZxyz(2.7204, 1.8070, 1.1826)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42161A #16423E
analogous
#421630 #42161A #422816
triadic
#42161A #1A4216 #161A42
tetradic
#42161A #304216 #16423E #281642
square
#42161A #304216 #16423E #281642
split-complementary
#42161A #164228 #163042
monochromatic
#170809 #170809 #42161A #70252C #9E353E

Accessibility & contrast

On white

15.43
#42161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#42161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42161A
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42161A#FFFFFF#000000##FFFFFF
##42161A1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1A
Deuteranopia (green-blind)
#2B2819
Tritanopia (blue-blind)
#490F18
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42161a;
/* rgb */ color: rgb(66, 22, 26);
/* oklch */ color: oklch(27.1% 0.068 17.4);
Tailwind
colors: {
  custom: {
    50: '#7a5556',
    500: '#42161a',
    950: '#000000',
  },
}
SCSS
$custom: #42161a;
$custom-light: #7a5556;
$custom-dark: #000000;
JSON
{
  "hex": "#42161a",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 354.545,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27082,
    "c": 0.06834,
    "h": 17.4
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#42161A
secondary
#3A7974
accent
#DACD4E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42161A

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

Preview Lab → · Contrast checker → · Palette generator →

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