#420C2E#420C2E

#420C2E is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.5% C 0.091 H 346.5°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#420C2E
RGBrgb(66, 12, 46)
HSLhsl(322, 69%, 15%)
HSVhsv(322, 82%, 26%)
CMYKcmyk(0%, 81.8%, 30.3%, 74.1%)
CIE-LABlab(13.34, 29.24, -8.05)
CIE-LCHlch(13.34, 30.33, 344.60°)
OKLaboklab(26.5% 0.0888 -0.0213)
OKLCHoklch(26.5% 0.091 346.5)
XYZxyz(2.8715, 1.6188, 2.7455)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C2E #0C4220
analogous
#3B0C42 #420C2E #420C13
triadic
#420C2E #2E420C #0C2E42
tetradic
#420C2E #423B0C #0C4220 #0C1342
square
#420C2E #423B0C #0C4220 #0C1342
split-complementary
#420C2E #13420C #0C423B
monochromatic
#1A0512 #1A0512 #420C2E #761552 #AA1F76

Accessibility & contrast

On white

15.87
#420C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C2E
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C2E#FFFFFF#000000##FFFFFF
##420C2E1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#23262D
Tritanopia (blue-blind)
#470A1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c2e;
/* rgb */ color: rgb(66, 12, 46);
/* oklch */ color: oklch(26.5% 0.091 346.5);
Tailwind
colors: {
  custom: {
    50: '#795166',
    500: '#420c2e',
    950: '#000000',
  },
}
SCSS
$custom: #420c2e;
$custom-light: #795166;
$custom-dark: #000000;
JSON
{
  "hex": "#420c2e",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 322.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26504,
    "c": 0.09128,
    "h": 346.5
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#420C2E
secondary
#2C7E4A
accent
#EC7D3C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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