#420E38#420E38

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

Color values

HEX#420E38
RGBrgb(66, 14, 56)
HSLhsl(312, 65%, 16%)
HSVhsv(312, 79%, 26%)
CMYKcmyk(0%, 78.8%, 15.2%, 74.1%)
CIE-LABlab(14.16, 30.04, -14.01)
CIE-LCHlch(14.16, 33.15, 335.00°)
OKLaboklab(27.27% 0.0882 -0.0381)
OKLCHoklch(27.27% 0.096 336.6)
XYZxyz(3.1177, 1.7581, 3.9158)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E38 #0E4218
analogous
#320E42 #420E38 #420E1E
triadic
#420E38 #38420E #0E3842
tetradic
#420E38 #42320E #0E4218 #0E1E42
square
#420E38 #42320E #0E4218 #0E1E42
split-complementary
#420E38 #1E420E #0E4232
monochromatic
#190515 #190515 #420E38 #741963 #A7238E

Accessibility & contrast

On white

15.54
#420E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E38
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E38#FFFFFF#000000##FFFFFF
##420E381.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1F39
Deuteranopia (green-blind)
#202737
Tritanopia (blue-blind)
#461121
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420e38;
/* rgb */ color: rgb(66, 14, 56);
/* oklch */ color: oklch(27.3% 0.096 336.6);
Tailwind
colors: {
  custom: {
    50: '#79526e',
    500: '#420e38',
    950: '#000000',
  },
}
SCSS
$custom: #420e38;
$custom-light: #79526e;
$custom-dark: #000000;
JSON
{
  "hex": "#420e38",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 56
  },
  "hsl": {
    "h": 311.538,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27269,
    "c": 0.0961,
    "h": 336.6
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#420E38
secondary
#2F7D3E
accent
#E86040
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420E38

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

Preview Lab → · Contrast checker → · Palette generator →

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