#420C33#420C33

#420C33 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.095 H 341.3°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#420C33
RGBrgb(66, 12, 51)
HSLhsl(317, 69%, 15%)
HSVhsv(317, 82%, 26%)
CMYKcmyk(0%, 81.8%, 22.7%, 74.1%)
CIE-LABlab(13.59, 30.03, -11.30)
CIE-LCHlch(13.59, 32.09, 339.38°)
OKLaboklab(26.77% 0.0899 -0.0304)
OKLCHoklch(26.77% 0.095 341.3)
XYZxyz(2.9759, 1.6605, 3.2951)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C33 #0C421B
analogous
#360C42 #420C33 #420C18
triadic
#420C33 #33420C #0C3342
tetradic
#420C33 #42360C #0C421B #0C1842
square
#420C33 #42360C #0C421B #0C1842
split-complementary
#420C33 #18420C #0C4236
monochromatic
#1A0514 #1A0514 #420C33 #76155B #AA1F83

Accessibility & contrast

On white

15.77
#420C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C33
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C33#FFFFFF#000000##FFFFFF
##420C331.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D34
Deuteranopia (green-blind)
#222632
Tritanopia (blue-blind)
#470D1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420c33;
/* rgb */ color: rgb(66, 12, 51);
/* oklch */ color: oklch(26.8% 0.095 341.3);
Tailwind
colors: {
  custom: {
    50: '#79516a',
    500: '#420c33',
    950: '#000000',
  },
}
SCSS
$custom: #420c33;
$custom-light: #79516a;
$custom-dark: #000000;
JSON
{
  "hex": "#420c33",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 316.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.09491,
    "h": 341.3
  },
  "luminance": 0.0166
}

Semantic roles & 50–950 ramp

primary
#420C33
secondary
#2C7E43
accent
#EC6D3C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420C33

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

Preview Lab → · Contrast checker → · Palette generator →

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