#42180C#42180C

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

Color values

HEX#42180C
RGBrgb(66, 24, 12)
HSLhsl(13, 69%, 15%)
HSVhsv(13, 82%, 26%)
CMYKcmyk(0%, 63.6%, 81.8%, 74.1%)
CIE-LABlab(14.62, 19.46, 17.14)
CIE-LCHlch(14.62, 25.93, 41.37°)
OKLaboklab(27.13% 0.0552 0.0411)
OKLCHoklch(27.13% 0.069 36.7)
XYZxyz(2.6400, 1.8384, 0.5636)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42180C #0C3642
analogous
#420C1B #42180C #42330C
triadic
#42180C #0C4218 #180C42
tetradic
#42180C #1B420C #0C3642 #330C42
square
#42180C #1B420C #0C3642 #330C42
split-complementary
#42180C #0C4233 #0C1B42
monochromatic
#1A0905 #1A0905 #42180C #762B15 #AA3E1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42180C#FFFFFF#000000##FFFFFF
##42180C1.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)
#231F0B
Deuteranopia (green-blind)
#2E280B
Tritanopia (blue-blind)
#490F15
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42180c;
/* rgb */ color: rgb(66, 24, 12);
/* oklch */ color: oklch(27.1% 0.069 36.7);
Tailwind
colors: {
  custom: {
    50: '#7b564c',
    500: '#42180c',
    950: '#000000',
  },
}
SCSS
$custom: #42180c;
$custom-light: #7b564c;
$custom-dark: #000000;
JSON
{
  "hex": "#42180c",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 12
  },
  "hsl": {
    "h": 13.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27128,
    "c": 0.06878,
    "h": 36.7
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#42180C
secondary
#2C6C7E
accent
#C5EC3C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42180C

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

Preview Lab → · Contrast checker → · Palette generator →

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