#420D38#420D38

#420D38 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.2% C 0.098 H 336.6°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#420D38
RGBrgb(66, 13, 56)
HSLhsl(311, 67%, 15%)
HSVhsv(311, 80%, 26%)
CMYKcmyk(0%, 80.3%, 15.2%, 74.1%)
CIE-LABlab(14.01, 30.47, -14.25)
CIE-LCHlch(14.01, 33.63, 334.94°)
OKLaboklab(27.16% 0.0895 -0.0388)
OKLCHoklch(27.16% 0.098 336.6)
XYZxyz(3.1046, 1.7319, 3.9114)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D38 #0D4217
analogous
#310D42 #420D38 #420D1D
triadic
#420D38 #38420D #0D3842
tetradic
#420D38 #42310D #0D4217 #0D1D42
square
#420D38 #42310D #0D4217 #0D1D42
split-complementary
#420D38 #1D420D #0D4231
monochromatic
#1A0516 #1A0516 #420D38 #751763 #A8218F

Accessibility & contrast

On white

15.60
#420D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D38
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D38#FFFFFF#000000##FFFFFF
##420D381.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E39
Deuteranopia (green-blind)
#202737
Tritanopia (blue-blind)
#461021
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420d38;
/* rgb */ color: rgb(66, 13, 56);
/* oklch */ color: oklch(27.2% 0.098 336.6);
Tailwind
colors: {
  custom: {
    50: '#79516e',
    500: '#420d38',
    950: '#000000',
  },
}
SCSS
$custom: #420d38;
$custom-light: #79516e;
$custom-dark: #000000;
JSON
{
  "hex": "#420d38",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 311.321,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2716,
    "c": 0.09753,
    "h": 336.6
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#420D38
secondary
#2D7E3C
accent
#EA5E3E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420D38

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

Preview Lab → · Contrast checker → · Palette generator →

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