#42141C#42141C

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

Color values

HEX#42141C
RGBrgb(66, 20, 28)
HSLhsl(350, 53%, 17%)
HSVhsv(350, 70%, 26%)
CMYKcmyk(0%, 69.7%, 57.6%, 74.1%)
CIE-LABlab(14.07, 23.06, 6.23)
CIE-LCHlch(14.07, 23.88, 15.13°)
OKLaboklab(26.83% 0.0697 0.0158)
OKLCHoklch(26.83% 0.071 12.8)
XYZxyz(2.7067, 1.7427, 1.2922)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42141C #14423A
analogous
#421433 #42141C #422314
triadic
#42141C #1C4214 #141C42
tetradic
#42141C #334214 #14423A #231442
square
#42141C #334214 #14423A #231442
split-complementary
#42141C #144223 #143342
monochromatic
#17070A #17070A #42141C #712230 #A03044

Accessibility & contrast

On white

15.57
#42141C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42141C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42141C#FFFFFF#000000##FFFFFF
##42141C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#42141C
secondary
#387A6F
accent
#DDC34B
background
#F7F4F5
surface
#EEE8E9
border
#C9C4C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42141C

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

Preview Lab → · Contrast checker → · Palette generator →

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