#420D31#420D31

#420D31 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.092 H 343.5°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#420D31
RGBrgb(66, 13, 49)
HSLhsl(319, 67%, 15%)
HSVhsv(319, 80%, 26%)
CMYKcmyk(0%, 80.3%, 25.8%, 74.1%)
CIE-LABlab(13.64, 29.29, -9.78)
CIE-LCHlch(13.64, 30.88, 341.53°)
OKLaboklab(26.77% 0.0882 -0.0261)
OKLCHoklch(26.77% 0.092 343.5)
XYZxyz(2.9452, 1.6682, 3.0720)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D31 #0D421E
analogous
#380D42 #420D31 #420D16
triadic
#420D31 #31420D #0D3142
tetradic
#420D31 #42380D #0D421E #0D1642
square
#420D31 #42380D #0D421E #0D1642
split-complementary
#420D31 #16420D #0D4238
monochromatic
#1A0513 #1A0513 #420D31 #751757 #A8217D

Accessibility & contrast

On white

15.75
#420D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420D31
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D31#FFFFFF#000000##FFFFFF
##420D311.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D32
Deuteranopia (green-blind)
#232630
Tritanopia (blue-blind)
#470D1D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420d31;
/* rgb */ color: rgb(66, 13, 49);
/* oklch */ color: oklch(26.8% 0.092 343.5);
Tailwind
colors: {
  custom: {
    50: '#795169',
    500: '#420d31',
    950: '#000000',
  },
}
SCSS
$custom: #420d31;
$custom-light: #795169;
$custom-dark: #000000;
JSON
{
  "hex": "#420d31",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 319.245,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.092,
    "h": 343.5
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#420D31
secondary
#2D7E47
accent
#EA753E
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420D31

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

Preview Lab → · Contrast checker → · Palette generator →

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