#42141B#42141B

#42141B is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.8% C 0.071 H 14.2°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#42141B
RGBrgb(66, 20, 27)
HSLhsl(351, 53%, 17%)
HSVhsv(351, 70%, 26%)
CMYKcmyk(0%, 69.7%, 59.1%, 74.1%)
CIE-LABlab(14.05, 22.95, 6.93)
CIE-LCHlch(14.05, 23.97, 16.79°)
OKLaboklab(26.8% 0.0692 0.0175)
OKLCHoklch(26.8% 0.071 14.2)
XYZxyz(2.6950, 1.7380, 1.2303)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42141B #14423B
analogous
#421432 #42141B #422414
triadic
#42141B #1B4214 #141B42
tetradic
#42141B #324214 #14423B #241442
square
#42141B #324214 #14423B #241442
split-complementary
#42141B #144224 #143242
monochromatic
#17070A #17070A #42141B #71222E #A03041

Accessibility & contrast

On white

15.58
#42141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#42141B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42141B
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42141B#FFFFFF#000000##FFFFFF
##42141B1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1B
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#490D17
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42141b;
/* rgb */ color: rgb(66, 20, 27);
/* oklch */ color: oklch(26.8% 0.071 14.2);
Tailwind
colors: {
  custom: {
    50: '#7a5457',
    500: '#42141b',
    950: '#000000',
  },
}
SCSS
$custom: #42141b;
$custom-light: #7a5457;
$custom-dark: #000000;
JSON
{
  "hex": "#42141b",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 350.87,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26796,
    "c": 0.07137,
    "h": 14.2
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#42141B
secondary
#387A70
accent
#DDC74B
background
#F7F4F5
surface
#EEE8E9
border
#C9C4C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #42141B

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

Preview Lab → · Contrast checker → · Palette generator →

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