#420C2F#420C2F

#420C2F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.092 H 345.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#420C2F
RGBrgb(66, 12, 47)
HSLhsl(321, 69%, 15%)
HSVhsv(321, 82%, 26%)
CMYKcmyk(0%, 81.8%, 28.8%, 74.1%)
CIE-LABlab(13.39, 29.40, -8.71)
CIE-LCHlch(13.39, 30.66, 343.49°)
OKLaboklab(26.56% 0.089 -0.0231)
OKLCHoklch(26.56% 0.092 345.4)
XYZxyz(2.8914, 1.6267, 2.8505)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C2F #0C421F
analogous
#3A0C42 #420C2F #420C14
triadic
#420C2F #2F420C #0C2F42
tetradic
#420C2F #423A0C #0C421F #0C1442
square
#420C2F #423A0C #0C421F #0C1442
split-complementary
#420C2F #14420C #0C423A
monochromatic
#1A0512 #1A0512 #420C2F #761554 #AA1F79

Accessibility & contrast

On white

15.85
#420C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C2F
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C2F#FFFFFF#000000##FFFFFF
##420C2F1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D30
Deuteranopia (green-blind)
#23262E
Tritanopia (blue-blind)
#470B1C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c2f;
/* rgb */ color: rgb(66, 12, 47);
/* oklch */ color: oklch(26.6% 0.092 345.4);
Tailwind
colors: {
  custom: {
    50: '#795167',
    500: '#420c2f',
    950: '#000000',
  },
}
SCSS
$custom: #420c2f;
$custom-light: #795167;
$custom-dark: #000000;
JSON
{
  "hex": "#420c2f",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 321.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26555,
    "c": 0.09198,
    "h": 345.4
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#420C2F
secondary
#2C7E49
accent
#EC7A3C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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