#42121E#42121E

#42121E is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.6% C 0.075 H 8.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#42121E
RGBrgb(66, 18, 30)
HSLhsl(345, 57%, 16%)
HSVhsv(345, 73%, 26%)
CMYKcmyk(0%, 72.7%, 54.5%, 74.1%)
CIE-LABlab(13.74, 24.33, 4.29)
CIE-LCHlch(13.74, 24.71, 10.01°)
OKLaboklab(26.59% 0.074 0.0111)
OKLCHoklch(26.59% 0.075 8.6)
XYZxyz(2.6976, 1.6849, 1.4112)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42121E #124236
analogous
#421236 #42121E #421E12
triadic
#42121E #1E4212 #121E42
tetradic
#42121E #364212 #124236 #1E1242
square
#42121E #364212 #124236 #1E1242
split-complementary
#42121E #12421E #123642
monochromatic
#18070B #18070B #42121E #721F34 #A22C4A

Accessibility & contrast

On white

15.71
#42121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42121E
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42121E#FFFFFF#000000##FFFFFF
##42121E1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1E
Deuteranopia (green-blind)
#29271D
Tritanopia (blue-blind)
#480B17
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42121e;
/* rgb */ color: rgb(66, 18, 30);
/* oklch */ color: oklch(26.6% 0.075 8.6);
Tailwind
colors: {
  custom: {
    50: '#7a5359',
    500: '#42121e',
    950: '#000000',
  },
}
SCSS
$custom: #42121e;
$custom-light: #7a5359;
$custom-dark: #000000;
JSON
{
  "hex": "#42121e",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 345,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26593,
    "c": 0.07479,
    "h": 8.6
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#42121E
secondary
#357B69
accent
#E0BA47
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #42121E

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

Preview Lab → · Contrast checker → · Palette generator →

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