#420B27#420B27

#420B27 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.1% C 0.088 H 354.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#420B27
RGBrgb(66, 11, 39)
HSLhsl(329, 71%, 15%)
HSVhsv(329, 83%, 26%)
CMYKcmyk(0%, 83.3%, 40.9%, 74.1%)
CIE-LABlab(12.89, 28.66, -3.60)
CIE-LCHlch(12.89, 28.89, 352.84°)
OKLaboklab(26.07% 0.0879 -0.0092)
OKLCHoklch(26.07% 0.088 354.1)
XYZxyz(2.7328, 1.5444, 2.0733)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B27 #0B4226
analogous
#420B42 #420B27 #420B0B
triadic
#420B27 #27420B #0B2742
tetradic
#420B27 #42420B #0B4226 #0B0B42
square
#420B27 #42420B #0B4226 #0B0B42
split-complementary
#420B27 #0B420B #0B4242
monochromatic
#1A040F #1A040F #420B27 #761446 #AB1C65

Accessibility & contrast

On white

16.05
#420B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#420B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B27
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B27#FFFFFF#000000##FFFFFF
##420B271.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B28
Deuteranopia (green-blind)
#252526
Tritanopia (blue-blind)
#480617
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420b27;
/* rgb */ color: rgb(66, 11, 39);
/* oklch */ color: oklch(26.1% 0.088 354.1);
Tailwind
colors: {
  custom: {
    50: '#795061',
    500: '#420b27',
    950: '#000000',
  },
}
SCSS
$custom: #420b27;
$custom-light: #795061;
$custom-dark: #000000;
JSON
{
  "hex": "#420b27",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 39
  },
  "hsl": {
    "h": 329.455,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26069,
    "c": 0.08839,
    "h": 354.1
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#420B27
secondary
#2A7F54
accent
#EE923A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420B27

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

Preview Lab → · Contrast checker → · Palette generator →

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