#420531#420531

#420531 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.103 H 342.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#420531
RGBrgb(66, 5, 49)
HSLhsl(317, 86%, 14%)
HSVhsv(317, 92%, 26%)
CMYKcmyk(0%, 92.4%, 25.8%, 74.1%)
CIE-LABlab(12.54, 32.43, -11.49)
CIE-LCHlch(12.54, 34.40, 340.50°)
OKLaboklab(25.97% 0.0979 -0.0308)
OKLCHoklch(25.97% 0.103 342.5)
XYZxyz(2.8555, 1.4889, 3.0421)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420531 #054216
analogous
#350542 #420531 #420513
triadic
#420531 #314205 #053142
tetradic
#420531 #423505 #054216 #051342
square
#420531 #423505 #054216 #051342
split-complementary
#420531 #134205 #054235
monochromatic
#1C0215 #1C0215 #420531 #7B095B #B40E85

Accessibility & contrast

On white

16.18
#420531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#420531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420531
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420531#FFFFFF#000000##FFFFFF
##4205311.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A32
Deuteranopia (green-blind)
#202430
Tritanopia (blue-blind)
#47061A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420531;
/* rgb */ color: rgb(66, 5, 49);
/* oklch */ color: oklch(26.0% 0.103 342.5);
Tailwind
colors: {
  custom: {
    50: '#794e69',
    500: '#420531',
    950: '#000000',
  },
}
SCSS
$custom: #420531;
$custom-light: #794e69;
$custom-dark: #000000;
JSON
{
  "hex": "#420531",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 316.721,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25969,
    "c": 0.10262,
    "h": 342.5
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#420531
secondary
#20823C
accent
#FC662C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420531

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

Preview Lab → · Contrast checker → · Palette generator →

#420531 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva