#42121B#42121B

#42121B is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.5% C 0.074 H 12.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#42121B
RGBrgb(66, 18, 27)
HSLhsl(349, 57%, 16%)
HSVhsv(349, 73%, 26%)
CMYKcmyk(0%, 72.7%, 59.1%, 74.1%)
CIE-LABlab(13.65, 24.01, 6.38)
CIE-LCHlch(13.65, 24.85, 14.88°)
OKLaboklab(26.5% 0.0726 0.0162)
OKLCHoklch(26.5% 0.074 12.6)
XYZxyz(2.6611, 1.6703, 1.2190)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42121B #124239
analogous
#421233 #42121B #422112
triadic
#42121B #1B4212 #121B42
tetradic
#42121B #334212 #124239 #211242
square
#42121B #334212 #124239 #211242
split-complementary
#42121B #124221 #123342
monochromatic
#18070A #18070A #42121B #721F2F #A22C42

Accessibility & contrast

On white

15.74
#42121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42121B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42121B
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42121B#FFFFFF#000000##FFFFFF
##42121B1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1B
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#490A16
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42121b;
/* rgb */ color: rgb(66, 18, 27);
/* oklch */ color: oklch(26.5% 0.074 12.6);
Tailwind
colors: {
  custom: {
    50: '#7a5357',
    500: '#42121b',
    950: '#000000',
  },
}
SCSS
$custom: #42121b;
$custom-light: #7a5357;
$custom-dark: #000000;
JSON
{
  "hex": "#42121b",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 348.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26501,
    "c": 0.07435,
    "h": 12.6
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#42121B
secondary
#357B6E
accent
#E0C447
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42121B

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

Preview Lab → · Contrast checker → · Palette generator →

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