#420C27#420C27

#420C27 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.087 H 354.3°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#420C27
RGBrgb(66, 12, 39)
HSLhsl(330, 69%, 15%)
HSVhsv(330, 82%, 26%)
CMYKcmyk(0%, 81.8%, 40.9%, 74.1%)
CIE-LABlab(13.03, 28.25, -3.38)
CIE-LCHlch(13.03, 28.45, 353.17°)
OKLaboklab(26.18% 0.0866 -0.0086)
OKLCHoklch(26.18% 0.087 354.3)
XYZxyz(2.7446, 1.5680, 2.0772)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C27 #0C4227
analogous
#420C42 #420C27 #420C0C
triadic
#420C27 #27420C #0C2742
tetradic
#420C27 #42420C #0C4227 #0C0C42
square
#420C27 #42420C #0C4227 #0C0C42
split-complementary
#420C27 #0C420C #0C4242
monochromatic
#1A050F #1A050F #420C27 #761546 #AA1F64

Accessibility & contrast

On white

15.99
#420C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C27
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C27#FFFFFF#000000##FFFFFF
##420C271.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B28
Deuteranopia (green-blind)
#252526
Tritanopia (blue-blind)
#480718
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c27;
/* rgb */ color: rgb(66, 12, 39);
/* oklch */ color: oklch(26.2% 0.087 354.3);
Tailwind
colors: {
  custom: {
    50: '#795061',
    500: '#420c27',
    950: '#000000',
  },
}
SCSS
$custom: #420c27;
$custom-light: #795061;
$custom-dark: #000000;
JSON
{
  "hex": "#420c27",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 330,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26176,
    "c": 0.08703,
    "h": 354.3
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#420C27
secondary
#2C7E55
accent
#EC943C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420C27

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

Preview Lab → · Contrast checker → · Palette generator →

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