#420527#420527

#420527 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.5% C 0.096 H 352.5°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#420527
RGBrgb(66, 5, 39)
HSLhsl(327, 86%, 14%)
HSVhsv(327, 92%, 26%)
CMYKcmyk(0%, 92.4%, 40.9%, 74.1%)
CIE-LABlab(12.05, 31.05, -4.86)
CIE-LCHlch(12.05, 31.43, 351.10°)
OKLaboklab(25.46% 0.0955 -0.0125)
OKLCHoklch(25.46% 0.096 352.5)
XYZxyz(2.6674, 1.4136, 2.0515)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420527 #054220
analogous
#3F0542 #420527 #420509
triadic
#420527 #274205 #052742
tetradic
#420527 #423F05 #054220 #050942
square
#420527 #423F05 #054220 #050942
split-complementary
#420527 #094205 #05423F
monochromatic
#1C0211 #1C0211 #420527 #7B0949 #B40E6A

Accessibility & contrast

On white

16.37
#420527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#420527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420527
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420527#FFFFFF#000000##FFFFFF
##4205271.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111928
Deuteranopia (green-blind)
#232426
Tritanopia (blue-blind)
#480015
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420527;
/* rgb */ color: rgb(66, 5, 39);
/* oklch */ color: oklch(25.5% 0.096 352.5);
Tailwind
colors: {
  custom: {
    50: '#7a4d61',
    500: '#420527',
    950: '#000000',
  },
}
SCSS
$custom: #420527;
$custom-light: #7a4d61;
$custom-dark: #000000;
JSON
{
  "hex": "#420527",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 326.557,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25456,
    "c": 0.09631,
    "h": 352.5
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#420527
secondary
#20824C
accent
#FC882C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0205
muted
#7C7879

Preview Lab

Preview with #420527

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

Preview Lab → · Contrast checker → · Palette generator →

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