#42151C#42151C

#42151C is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.0% C 0.070 H 13.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#42151C
RGBrgb(66, 21, 28)
HSLhsl(351, 52%, 17%)
HSVhsv(351, 68%, 26%)
CMYKcmyk(0%, 68.2%, 57.6%, 74.1%)
CIE-LABlab(14.28, 22.50, 6.52)
CIE-LCHlch(14.28, 23.43, 16.15°)
OKLaboklab(26.98% 0.0679 0.0165)
OKLCHoklch(26.98% 0.07 13.7)
XYZxyz(2.7247, 1.7788, 1.2982)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42151C #15423B
analogous
#421533 #42151C #422515
triadic
#42151C #1C4215 #151C42
tetradic
#42151C #334215 #15423B #251542
square
#42151C #334215 #15423B #251542
split-complementary
#42151C #154225 #153342
monochromatic
#17070A #17070A #42151C #702430 #9F3343

Accessibility & contrast

On white

15.49
#42151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#42151C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42151C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42151C#FFFFFF#000000##FFFFFF
##42151C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1C
Deuteranopia (green-blind)
#2B281B
Tritanopia (blue-blind)
#490E18
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42151c;
/* rgb */ color: rgb(66, 21, 28);
/* oklch */ color: oklch(27.0% 0.070 13.7);
Tailwind
colors: {
  custom: {
    50: '#7a5557',
    500: '#42151c',
    950: '#000000',
  },
}
SCSS
$custom: #42151c;
$custom-light: #7a5557;
$custom-dark: #000000;
JSON
{
  "hex": "#42151c",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 350.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2698,
    "c": 0.06991,
    "h": 13.7
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#42151C
secondary
#397A70
accent
#DBC54D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42151C

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

Preview Lab → · Contrast checker → · Palette generator →

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