#420D33#420D33

#420D33 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.093 H 341.4°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#420D33
RGBrgb(66, 13, 51)
HSLhsl(317, 67%, 15%)
HSVhsv(317, 80%, 26%)
CMYKcmyk(0%, 80.3%, 22.7%, 74.1%)
CIE-LABlab(13.74, 29.61, -11.07)
CIE-LCHlch(13.74, 31.62, 339.50°)
OKLaboklab(26.88% 0.0886 -0.0298)
OKLCHoklch(26.88% 0.094 341.4)
XYZxyz(2.9883, 1.6854, 3.2993)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D33 #0D421C
analogous
#360D42 #420D33 #420D18
triadic
#420D33 #33420D #0D3342
tetradic
#420D33 #42360D #0D421C #0D1842
square
#420D33 #42360D #0D421C #0D1842
split-complementary
#420D33 #18420D #0D4236
monochromatic
#1A0514 #1A0514 #420D33 #75175B #A82182

Accessibility & contrast

On white

15.71
#420D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D33
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D33#FFFFFF#000000##FFFFFF
##420D331.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)
#111E34
Deuteranopia (green-blind)
#222632
Tritanopia (blue-blind)
#470E1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420d33;
/* rgb */ color: rgb(66, 13, 51);
/* oklch */ color: oklch(26.9% 0.093 341.4);
Tailwind
colors: {
  custom: {
    50: '#79516a',
    500: '#420d33',
    950: '#000000',
  },
}
SCSS
$custom: #420d33;
$custom-light: #79516a;
$custom-dark: #000000;
JSON
{
  "hex": "#420d33",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 316.981,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26875,
    "c": 0.0935,
    "h": 341.4
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#420D33
secondary
#2D7E44
accent
#EA6F3E
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420D33

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

Preview Lab → · Contrast checker → · Palette generator →

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