#420D26#420D26

#420D26 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.085 H 355.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#420D26
RGBrgb(66, 13, 38)
HSLhsl(332, 67%, 15%)
HSVhsv(332, 80%, 26%)
CMYKcmyk(0%, 80.3%, 42.4%, 74.1%)
CIE-LABlab(13.15, 27.69, -2.47)
CIE-LCHlch(13.15, 27.80, 354.89°)
OKLaboklab(26.25% 0.0849 -0.0062)
OKLCHoklch(26.25% 0.085 355.8)
XYZxyz(2.7407, 1.5864, 1.9952)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D26 #0D4229
analogous
#420D40 #420D26 #420E0D
triadic
#420D26 #26420D #0D2642
tetradic
#420D26 #40420D #0D4229 #0E0D42
square
#420D26 #40420D #0D4229 #0E0D42
split-complementary
#420D26 #0D420E #0D4042
monochromatic
#1A050F #1A050F #420D26 #751743 #A82161

Accessibility & contrast

On white

15.94
#420D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#420D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D26
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D26#FFFFFF#000000##FFFFFF
##420D261.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171C27
Deuteranopia (green-blind)
#262525
Tritanopia (blue-blind)
#480818
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420d26;
/* rgb */ color: rgb(66, 13, 38);
/* oklch */ color: oklch(26.2% 0.085 355.8);
Tailwind
colors: {
  custom: {
    50: '#795160',
    500: '#420d26',
    950: '#000000',
  },
}
SCSS
$custom: #420d26;
$custom-light: #795160;
$custom-dark: #000000;
JSON
{
  "hex": "#420d26",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 331.698,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26246,
    "c": 0.08512,
    "h": 355.8
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#420D26
secondary
#2D7E58
accent
#EA993E
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #420D26

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

Preview Lab → · Contrast checker → · Palette generator →

#420D26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva