#420C32#420C32

#420C32 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.7% C 0.094 H 342.3°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#420C32
RGBrgb(66, 12, 50)
HSLhsl(318, 69%, 15%)
HSVhsv(318, 82%, 26%)
CMYKcmyk(0%, 81.8%, 24.2%, 74.1%)
CIE-LABlab(13.54, 29.87, -10.66)
CIE-LCHlch(13.54, 31.71, 340.36°)
OKLaboklab(26.71% 0.0897 -0.0286)
OKLCHoklch(26.71% 0.094 342.3)
XYZxyz(2.9541, 1.6518, 3.1802)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C32 #0C421C
analogous
#370C42 #420C32 #420C17
triadic
#420C32 #32420C #0C3242
tetradic
#420C32 #42370C #0C421C #0C1742
square
#420C32 #42370C #0C421C #0C1742
split-complementary
#420C32 #17420C #0C4237
monochromatic
#1A0514 #1A0514 #420C32 #761559 #AA1F80

Accessibility & contrast

On white

15.79
#420C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C32
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C32#FFFFFF#000000##FFFFFF
##420C321.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D33
Deuteranopia (green-blind)
#222631
Tritanopia (blue-blind)
#470D1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420c32;
/* rgb */ color: rgb(66, 12, 50);
/* oklch */ color: oklch(26.7% 0.094 342.3);
Tailwind
colors: {
  custom: {
    50: '#79516a',
    500: '#420c32',
    950: '#000000',
  },
}
SCSS
$custom: #420c32;
$custom-light: #79516a;
$custom-dark: #000000;
JSON
{
  "hex": "#420c32",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 317.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26713,
    "c": 0.09414,
    "h": 342.3
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#420C32
secondary
#2C7E44
accent
#EC703C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420C32

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

Preview Lab → · Contrast checker → · Palette generator →

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