#420F31#420F31

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

Color values

HEX#420F31
RGBrgb(66, 15, 49)
HSLhsl(320, 63%, 16%)
HSVhsv(320, 77%, 26%)
CMYKcmyk(0%, 77.3%, 25.8%, 74.1%)
CIE-LABlab(13.95, 28.41, -9.30)
CIE-LCHlch(13.95, 29.89, 341.87°)
OKLaboklab(27% 0.0855 -0.0248)
OKLCHoklch(27% 0.089 343.8)
XYZxyz(2.9721, 1.7219, 3.0810)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F31 #0F4220
analogous
#390F42 #420F31 #420F17
triadic
#420F31 #31420F #0F3142
tetradic
#420F31 #42390F #0F4220 #0F1742
square
#420F31 #42390F #0F4220 #0F1742
split-complementary
#420F31 #17420F #0F4239
monochromatic
#190613 #190613 #420F31 #741A56 #A6267B

Accessibility & contrast

On white

15.62
#420F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F31
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F31#FFFFFF#000000##FFFFFF
##420F311.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141E32
Deuteranopia (green-blind)
#232730
Tritanopia (blue-blind)
#470F1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420f31;
/* rgb */ color: rgb(66, 15, 49);
/* oklch */ color: oklch(27.0% 0.089 343.8);
Tailwind
colors: {
  custom: {
    50: '#795269',
    500: '#420f31',
    950: '#000000',
  },
}
SCSS
$custom: #420f31;
$custom-light: #795269;
$custom-dark: #000000;
JSON
{
  "hex": "#420f31",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 320,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26998,
    "c": 0.08903,
    "h": 343.8
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#420F31
secondary
#307C4A
accent
#E67942
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420F31

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

Preview Lab → · Contrast checker → · Palette generator →

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