#420D27#420D27

#420D27 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.086 H 354.7°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#420D27
RGBrgb(66, 13, 39)
HSLhsl(331, 67%, 15%)
HSVhsv(331, 80%, 26%)
CMYKcmyk(0%, 80.3%, 40.9%, 74.1%)
CIE-LABlab(13.19, 27.82, -3.15)
CIE-LCHlch(13.19, 28.00, 353.53°)
OKLaboklab(26.29% 0.0853 -0.008)
OKLCHoklch(26.29% 0.086 354.7)
XYZxyz(2.7571, 1.5929, 2.0813)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D27 #0D4228
analogous
#420D41 #420D27 #420D0D
triadic
#420D27 #27420D #0D2742
tetradic
#420D27 #41420D #0D4228 #0D0D42
square
#420D27 #41420D #0D4228 #0D0D42
split-complementary
#420D27 #0D420D #0D4142
monochromatic
#1A050F #1A050F #420D27 #751745 #A82163

Accessibility & contrast

On white

15.93
#420D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D27
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D27#FFFFFF#000000##FFFFFF
##420D271.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420d27;
/* rgb */ color: rgb(66, 13, 39);
/* oklch */ color: oklch(26.3% 0.086 354.7);
Tailwind
colors: {
  custom: {
    50: '#795161',
    500: '#420d27',
    950: '#000000',
  },
}
SCSS
$custom: #420d27;
$custom-light: #795161;
$custom-dark: #000000;
JSON
{
  "hex": "#420d27",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 330.566,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26288,
    "c": 0.08563,
    "h": 354.7
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#420D27
secondary
#2D7E56
accent
#EA963E
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420D27

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

Preview Lab → · Contrast checker → · Palette generator →

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