#420D36#420D36

#420D36 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.096 H 338.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#420D36
RGBrgb(66, 13, 54)
HSLhsl(314, 67%, 15%)
HSVhsv(314, 80%, 26%)
CMYKcmyk(0%, 80.3%, 18.2%, 74.1%)
CIE-LABlab(13.90, 30.12, -12.99)
CIE-LCHlch(13.90, 32.80, 336.68°)
OKLaboklab(27.04% 0.0892 -0.0352)
OKLCHoklch(27.04% 0.096 338.5)
XYZxyz(3.0566, 1.7127, 3.6589)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D36 #0D4219
analogous
#330D42 #420D36 #420D1B
triadic
#420D36 #36420D #0D3642
tetradic
#420D36 #42330D #0D4219 #0D1B42
square
#420D36 #42330D #0D4219 #0D1B42
split-complementary
#420D36 #1B420D #0D4233
monochromatic
#1A0515 #1A0515 #420D36 #751760 #A8218A

Accessibility & contrast

On white

15.64
#420D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D36
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D36#FFFFFF#000000##FFFFFF
##420D361.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#212635
Tritanopia (blue-blind)
#460F20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420d36;
/* rgb */ color: rgb(66, 13, 54);
/* oklch */ color: oklch(27.0% 0.096 338.5);
Tailwind
colors: {
  custom: {
    50: '#79516d',
    500: '#420d36',
    950: '#000000',
  },
}
SCSS
$custom: #420d36;
$custom-light: #79516d;
$custom-dark: #000000;
JSON
{
  "hex": "#420d36",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 313.585,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27043,
    "c": 0.09588,
    "h": 338.5
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#420D36
secondary
#2D7E3F
accent
#EA653E
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #420D36

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

Preview Lab → · Contrast checker → · Palette generator →

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