#42180E#42180E

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

Color values

HEX#42180E
RGBrgb(66, 24, 14)
HSLhsl(12, 65%, 16%)
HSVhsv(12, 79%, 26%)
CMYKcmyk(0%, 63.6%, 78.8%, 74.1%)
CIE-LABlab(14.64, 19.58, 16.22)
CIE-LCHlch(14.64, 25.43, 39.63°)
OKLaboklab(27.16% 0.056 0.0388)
OKLCHoklch(27.16% 0.068 34.7)
XYZxyz(2.6529, 1.8436, 0.6315)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42180E #0E3842
analogous
#420E1E #42180E #42320E
triadic
#42180E #0E4218 #180E42
tetradic
#42180E #1E420E #0E3842 #320E42
square
#42180E #1E420E #0E3842 #320E42
split-complementary
#42180E #0E4232 #0E1E42
monochromatic
#190905 #190905 #42180E #742A19 #A73D23

Accessibility & contrast

On white

15.34
#42180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42180E
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42180E#FFFFFF#000000##FFFFFF
##42180E1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0D
Deuteranopia (green-blind)
#2E280D
Tritanopia (blue-blind)
#490F16
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42180e;
/* rgb */ color: rgb(66, 24, 14);
/* oklch */ color: oklch(27.2% 0.068 34.7);
Tailwind
colors: {
  custom: {
    50: '#7a564d',
    500: '#42180e',
    950: '#000000',
  },
}
SCSS
$custom: #42180e;
$custom-light: #7a564d;
$custom-dark: #000000;
JSON
{
  "hex": "#42180e",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 11.538,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27159,
    "c": 0.0681,
    "h": 34.7
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#42180E
secondary
#2F6E7D
accent
#C8E840
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42180E

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

Preview Lab → · Contrast checker → · Palette generator →

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