#420E39#420E39

#420E39 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.097 H 335.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#420E39
RGBrgb(66, 14, 57)
HSLhsl(310, 65%, 16%)
HSVhsv(310, 79%, 26%)
CMYKcmyk(0%, 78.8%, 13.6%, 74.1%)
CIE-LABlab(14.22, 30.22, -14.64)
CIE-LCHlch(14.22, 33.58, 334.16°)
OKLaboklab(27.33% 0.0884 -0.0399)
OKLCHoklch(27.33% 0.097 335.7)
XYZxyz(3.1424, 1.7680, 4.0459)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E39 #0E4217
analogous
#310E42 #420E39 #420E1F
triadic
#420E39 #39420E #0E3942
tetradic
#420E39 #42310E #0E4217 #0E1F42
square
#420E39 #42310E #0E4217 #0E1F42
split-complementary
#420E39 #1F420E #0E4231
monochromatic
#190516 #190516 #420E39 #741965 #A72390

Accessibility & contrast

On white

15.51
#420E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E39
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E39#FFFFFF#000000##FFFFFF
##420E391.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1F3A
Deuteranopia (green-blind)
#202738
Tritanopia (blue-blind)
#461222
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420e39;
/* rgb */ color: rgb(66, 14, 57);
/* oklch */ color: oklch(27.3% 0.097 335.7);
Tailwind
colors: {
  custom: {
    50: '#79526f',
    500: '#420e39',
    950: '#000000',
  },
}
SCSS
$custom: #420e39;
$custom-light: #79526f;
$custom-dark: #000000;
JSON
{
  "hex": "#420e39",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 310.385,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27328,
    "c": 0.09695,
    "h": 335.7
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#420E39
secondary
#2F7D3C
accent
#E85D40
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420E39

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

Preview Lab → · Contrast checker → · Palette generator →

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