#42180B#42180B

#42180B is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.1% C 0.069 H 37.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#42180B
RGBrgb(66, 24, 11)
HSLhsl(14, 71%, 15%)
HSVhsv(14, 83%, 26%)
CMYKcmyk(0%, 63.6%, 83.3%, 74.1%)
CIE-LABlab(14.60, 19.41, 17.56)
CIE-LCHlch(14.60, 26.17, 42.15°)
OKLaboklab(27.11% 0.0548 0.0422)
OKLCHoklch(27.11% 0.069 37.6)
XYZxyz(2.6341, 1.8360, 0.5322)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42180B #0B3542
analogous
#420B19 #42180B #42340B
triadic
#42180B #0B4218 #180B42
tetradic
#42180B #19420B #0B3542 #340B42
square
#42180B #19420B #0B3542 #340B42
split-complementary
#42180B #0B4234 #0B1942
monochromatic
#1A0A04 #1A0A04 #42180B #762B14 #AB3E1C

Accessibility & contrast

On white

15.36
#42180B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42180B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42180B
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42180B#FFFFFF#000000##FFFFFF
##42180B1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F09
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#490F15
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42180b;
/* rgb */ color: rgb(66, 24, 11);
/* oklch */ color: oklch(27.1% 0.069 37.6);
Tailwind
colors: {
  custom: {
    50: '#7b564b',
    500: '#42180b',
    950: '#000000',
  },
}
SCSS
$custom: #42180b;
$custom-light: #7b564b;
$custom-dark: #000000;
JSON
{
  "hex": "#42180b",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 11
  },
  "hsl": {
    "h": 14.182,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27114,
    "c": 0.06913,
    "h": 37.6
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#42180B
secondary
#2A6B7F
accent
#C3EE3A
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42180B

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

Preview Lab → · Contrast checker → · Palette generator →

#42180B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva