#420C2A#420C2A

#420C2A is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.089 H 350.9°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#420C2A
RGBrgb(66, 12, 42)
HSLhsl(327, 69%, 15%)
HSVhsv(327, 82%, 26%)
CMYKcmyk(0%, 81.8%, 36.4%, 74.1%)
CIE-LABlab(13.16, 28.66, -5.40)
CIE-LCHlch(13.16, 29.16, 349.33°)
OKLaboklab(26.31% 0.0876 -0.014)
OKLCHoklch(26.31% 0.089 350.9)
XYZxyz(2.7963, 1.5887, 2.3494)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C2A #0C4224
analogous
#3F0C42 #420C2A #420C0F
triadic
#420C2A #2A420C #0C2A42
tetradic
#420C2A #423F0C #0C4224 #0C0F42
square
#420C2A #423F0C #0C4224 #0C0F42
split-complementary
#420C2A #0F420C #0C423F
monochromatic
#1A0510 #1A0510 #420C2A #76154B #AA1F6C

Accessibility & contrast

On white

15.94
#420C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#420C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C2A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C2A#FFFFFF#000000##FFFFFF
##420C2A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#242529
Tritanopia (blue-blind)
#480819
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c2a;
/* rgb */ color: rgb(66, 12, 42);
/* oklch */ color: oklch(26.3% 0.089 350.9);
Tailwind
colors: {
  custom: {
    50: '#795063',
    500: '#420c2a',
    950: '#000000',
  },
}
SCSS
$custom: #420c2a;
$custom-light: #795063;
$custom-dark: #000000;
JSON
{
  "hex": "#420c2a",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 326.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26311,
    "c": 0.08873,
    "h": 350.9
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#420C2A
secondary
#2C7E50
accent
#EC8A3C
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #420C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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