#42151B#42151B

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

Color values

HEX#42151B
RGBrgb(66, 21, 27)
HSLhsl(352, 52%, 17%)
HSVhsv(352, 68%, 26%)
CMYKcmyk(0%, 68.2%, 59.1%, 74.1%)
CIE-LABlab(14.25, 22.40, 7.21)
CIE-LCHlch(14.25, 23.53, 17.84°)
OKLaboklab(26.95% 0.0675 0.0182)
OKLCHoklch(26.95% 0.07 15.1)
XYZxyz(2.7130, 1.7740, 1.2363)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42151B #15423C
analogous
#421532 #42151B #422615
triadic
#42151B #1B4215 #151B42
tetradic
#42151B #324215 #15423C #261542
square
#42151B #324215 #15423C #261542
split-complementary
#42151B #154226 #153242
monochromatic
#170709 #170709 #42151B #70242E #9F3341

Accessibility & contrast

On white

15.50
#42151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42151B
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42151B#FFFFFF#000000##FFFFFF
##42151B1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#42151B
secondary
#397A71
accent
#DBC84D
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #42151B

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

Preview Lab → · Contrast checker → · Palette generator →

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