#420F39#420F39

#420F39 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.4% C 0.095 H 335.8°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#420F39
RGBrgb(66, 15, 57)
HSLhsl(311, 63%, 16%)
HSVhsv(311, 77%, 26%)
CMYKcmyk(0%, 77.3%, 13.6%, 74.1%)
CIE-LABlab(14.38, 29.78, -14.39)
CIE-LCHlch(14.38, 33.07, 334.20°)
OKLaboklab(27.44% 0.0871 -0.0392)
OKLCHoklch(27.44% 0.095 335.8)
XYZxyz(3.1561, 1.7956, 4.0505)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F39 #0F4218
analogous
#310F42 #420F39 #420F1F
triadic
#420F39 #39420F #0F3942
tetradic
#420F39 #42310F #0F4218 #0F1F42
square
#420F39 #42310F #0F4218 #0F1F42
split-complementary
#420F39 #1F420F #0F4231
monochromatic
#190616 #190616 #420F39 #741A64 #A6268F

Accessibility & contrast

On white

15.45
#420F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F39
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F39#FFFFFF#000000##FFFFFF
##420F391.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420f39;
/* rgb */ color: rgb(66, 15, 57);
/* oklch */ color: oklch(27.4% 0.095 335.8);
Tailwind
colors: {
  custom: {
    50: '#79526f',
    500: '#420f39',
    950: '#000000',
  },
}
SCSS
$custom: #420f39;
$custom-light: #79526f;
$custom-dark: #000000;
JSON
{
  "hex": "#420f39",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 310.588,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27442,
    "c": 0.09548,
    "h": 335.8
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#420F39
secondary
#307C3E
accent
#E65F42
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420F39

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

Preview Lab → · Contrast checker → · Palette generator →

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