#42140C#42140C

#42140C is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.5% C 0.073 H 32.1°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#42140C
RGBrgb(66, 20, 12)
HSLhsl(9, 69%, 15%)
HSVhsv(9, 82%, 26%)
CMYKcmyk(0%, 69.7%, 81.8%, 74.1%)
CIE-LABlab(13.74, 21.75, 16.00)
CIE-LCHlch(13.74, 27.00, 36.33°)
OKLaboklab(26.47% 0.0623 0.039)
OKLCHoklch(26.47% 0.073 32.1)
XYZxyz(2.5636, 1.6855, 0.5381)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42140C #0C3A42
analogous
#420C1F #42140C #422F0C
triadic
#42140C #0C4214 #140C42
tetradic
#42140C #1F420C #0C3A42 #2F0C42
square
#42140C #1F420C #0C3A42 #2F0C42
split-complementary
#42140C #0C422F #0C1F42
monochromatic
#1A0805 #1A0805 #42140C #762415 #AA331F

Accessibility & contrast

On white

15.71
#42140C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42140C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42140C
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42140C#FFFFFF#000000##FFFFFF
##42140C1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0B
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#490912
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42140c;
/* rgb */ color: rgb(66, 20, 12);
/* oklch */ color: oklch(26.5% 0.073 32.1);
Tailwind
colors: {
  custom: {
    50: '#7b544c',
    500: '#42140c',
    950: '#000000',
  },
}
SCSS
$custom: #42140c;
$custom-light: #7b544c;
$custom-dark: #000000;
JSON
{
  "hex": "#42140c",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 12
  },
  "hsl": {
    "h": 8.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26467,
    "c": 0.07345,
    "h": 32.1
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#42140C
secondary
#2C727E
accent
#D2EC3C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #42140C

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

Preview Lab → · Contrast checker → · Palette generator →

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