#420A36#420A36

#420A36 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.7% C 0.100 H 338.3°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#420A36
RGBrgb(66, 10, 54)
HSLhsl(313, 74%, 15%)
HSVhsv(313, 85%, 26%)
CMYKcmyk(0%, 84.8%, 18.2%, 74.1%)
CIE-LABlab(13.48, 31.30, -13.64)
CIE-LCHlch(13.48, 34.14, 336.46°)
OKLaboklab(26.74% 0.0928 -0.037)
OKLCHoklch(26.74% 0.1 338.3)
XYZxyz(3.0212, 1.6420, 3.6471)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A36 #0A4216
analogous
#320A42 #420A36 #420A1A
triadic
#420A36 #36420A #0A3642
tetradic
#420A36 #42320A #0A4216 #0A1A42
square
#420A36 #42320A #0A4216 #0A1A42
split-complementary
#420A36 #1A420A #0A4232
monochromatic
#1B0416 #1B0416 #420A36 #771261 #AC1A8D

Accessibility & contrast

On white

15.81
#420A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420A36
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A36#FFFFFF#000000##FFFFFF
##420A361.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D37
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#460D1F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420a36;
/* rgb */ color: rgb(66, 10, 54);
/* oklch */ color: oklch(26.7% 0.100 338.3);
Tailwind
colors: {
  custom: {
    50: '#79506d',
    500: '#420a36',
    950: '#000000',
  },
}
SCSS
$custom: #420a36;
$custom-light: #79506d;
$custom-dark: #000000;
JSON
{
  "hex": "#420a36",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 312.857,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26741,
    "c": 0.09986,
    "h": 338.3
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#420A36
secondary
#297F3B
accent
#F05F37
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #420A36

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

Preview Lab → · Contrast checker → · Palette generator →

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