#420C22#420C22

#420C22 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.085 H 0.3°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#420C22
RGBrgb(66, 12, 34)
HSLhsl(336, 69%, 15%)
HSVhsv(336, 82%, 26%)
CMYKcmyk(0%, 81.8%, 48.5%, 74.1%)
CIE-LABlab(12.84, 27.63, 0.04)
CIE-LCHlch(12.84, 27.63, 0.09°)
OKLaboklab(25.97% 0.0847 0.0004)
OKLCHoklch(25.97% 0.085 0.3)
XYZxyz(2.6672, 1.5370, 1.6693)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C22 #0C422C
analogous
#420C3D #420C22 #42110C
triadic
#420C22 #22420C #0C2242
tetradic
#420C22 #3D420C #0C422C #110C42
square
#420C22 #3D420C #0C422C #110C42
split-complementary
#420C22 #0C4211 #0C3D42
monochromatic
#1A050D #1A050D #420C22 #76153D #AA1F57

Accessibility & contrast

On white

16.06
#420C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C22
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C22#FFFFFF#000000##FFFFFF
##420C221.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181B23
Deuteranopia (green-blind)
#262521
Tritanopia (blue-blind)
#480515
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420c22;
/* rgb */ color: rgb(66, 12, 34);
/* oklch */ color: oklch(26.0% 0.085 0.3);
Tailwind
colors: {
  custom: {
    50: '#7a505c',
    500: '#420c22',
    950: '#000000',
  },
}
SCSS
$custom: #420c22;
$custom-light: #7a505c;
$custom-dark: #000000;
JSON
{
  "hex": "#420c22",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 335.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25972,
    "c": 0.08472,
    "h": 0.3
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#420C22
secondary
#2C7E5D
accent
#ECA43C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #420C22

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

Preview Lab → · Contrast checker → · Palette generator →

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