#42151A#42151A

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

Color values

HEX#42151A
RGBrgb(66, 21, 26)
HSLhsl(353, 52%, 17%)
HSVhsv(353, 68%, 26%)
CMYKcmyk(0%, 68.2%, 60.6%, 74.1%)
CIE-LABlab(14.23, 22.30, 7.90)
CIE-LCHlch(14.23, 23.66, 19.51°)
OKLaboklab(26.92% 0.067 0.0198)
OKLCHoklch(26.92% 0.07 16.4)
XYZxyz(2.7016, 1.7695, 1.1764)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42151A #15423D
analogous
#421531 #42151A #422715
triadic
#42151A #1A4215 #151A42
tetradic
#42151A #314215 #15423D #271542
square
#42151A #314215 #15423D #271542
split-complementary
#42151A #154227 #153142
monochromatic
#170709 #170709 #42151A #70242C #9F333F

Accessibility & contrast

On white

15.51
#42151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42151A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42151A#FFFFFF#000000##FFFFFF
##42151A1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E1A
Deuteranopia (green-blind)
#2B2819
Tritanopia (blue-blind)
#490E17
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42151a;
/* rgb */ color: rgb(66, 21, 26);
/* oklch */ color: oklch(26.9% 0.070 16.4);
Tailwind
colors: {
  custom: {
    50: '#7a5556',
    500: '#42151a',
    950: '#000000',
  },
}
SCSS
$custom: #42151a;
$custom-light: #7a5556;
$custom-dark: #000000;
JSON
{
  "hex": "#42151a",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 353.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26923,
    "c": 0.06984,
    "h": 16.4
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#42151A
secondary
#397A73
accent
#DBCB4D
background
#F7F5F5
surface
#EEE8E9
border
#C9C4C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #42151A

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

Preview Lab → · Contrast checker → · Palette generator →

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