#420D28#420D28

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

Color values

HEX#420D28
RGBrgb(66, 13, 40)
HSLhsl(329, 67%, 15%)
HSVhsv(329, 80%, 26%)
CMYKcmyk(0%, 80.3%, 39.4%, 74.1%)
CIE-LABlab(13.23, 27.96, -3.83)
CIE-LCHlch(13.23, 28.22, 352.20°)
OKLaboklab(26.33% 0.0856 -0.0098)
OKLCHoklch(26.33% 0.086 353.5)
XYZxyz(2.7739, 1.5996, 2.1698)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D28 #0D4227
analogous
#410D42 #420D28 #420D0D
triadic
#420D28 #28420D #0D2842
tetradic
#420D28 #42410D #0D4227 #0D0D42
square
#420D28 #42410D #0D4227 #0D0D42
split-complementary
#420D28 #0D420D #0D4241
monochromatic
#1A050F #1A050F #420D28 #751747 #A82166

Accessibility & contrast

On white

15.91
#420D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D28
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D28#FFFFFF#000000##FFFFFF
##420D281.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C29
Deuteranopia (green-blind)
#252627
Tritanopia (blue-blind)
#480919
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420d28;
/* rgb */ color: rgb(66, 13, 40);
/* oklch */ color: oklch(26.3% 0.086 353.5);
Tailwind
colors: {
  custom: {
    50: '#795161',
    500: '#420d28',
    950: '#000000',
  },
}
SCSS
$custom: #420d28;
$custom-light: #795161;
$custom-dark: #000000;
JSON
{
  "hex": "#420d28",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 329.434,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26332,
    "c": 0.08617,
    "h": 353.5
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#420D28
secondary
#2D7E55
accent
#EA923E
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420D28

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

Preview Lab → · Contrast checker → · Palette generator →

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