#420D34#420D34

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

Color values

HEX#420D34
RGBrgb(66, 13, 52)
HSLhsl(316, 67%, 15%)
HSVhsv(316, 80%, 26%)
CMYKcmyk(0%, 80.3%, 21.2%, 74.1%)
CIE-LABlab(13.79, 29.78, -11.71)
CIE-LCHlch(13.79, 32.00, 338.53°)
OKLaboklab(26.93% 0.0888 -0.0316)
OKLCHoklch(26.93% 0.094 340.4)
XYZxyz(3.0106, 1.6943, 3.4166)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D34 #0D421B
analogous
#350D42 #420D34 #420D19
triadic
#420D34 #34420D #0D3442
tetradic
#420D34 #42350D #0D421B #0D1942
square
#420D34 #42350D #0D421B #0D1942
split-complementary
#420D34 #19420D #0D4235
monochromatic
#1A0514 #1A0514 #420D34 #75175C #A82185

Accessibility & contrast

On white

15.69
#420D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D34
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D34#FFFFFF#000000##FFFFFF
##420D341.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E35
Deuteranopia (green-blind)
#222633
Tritanopia (blue-blind)
#460E1F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420d34;
/* rgb */ color: rgb(66, 13, 52);
/* oklch */ color: oklch(26.9% 0.094 340.4);
Tailwind
colors: {
  custom: {
    50: '#79516b',
    500: '#420d34',
    950: '#000000',
  },
}
SCSS
$custom: #420d34;
$custom-light: #79516b;
$custom-dark: #000000;
JSON
{
  "hex": "#420d34",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 315.849,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2693,
    "c": 0.09428,
    "h": 340.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#420D34
secondary
#2D7E42
accent
#EA6B3E
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420D34

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

Preview Lab → · Contrast checker → · Palette generator →

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