#420C2D#420C2D

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

Color values

HEX#420C2D
RGBrgb(66, 12, 45)
HSLhsl(323, 69%, 15%)
HSVhsv(323, 82%, 26%)
CMYKcmyk(0%, 81.8%, 31.8%, 74.1%)
CIE-LABlab(13.30, 29.09, -7.40)
CIE-LCHlch(13.30, 30.02, 345.74°)
OKLaboklab(26.45% 0.0885 -0.0195)
OKLCHoklch(26.45% 0.091 347.6)
XYZxyz(2.8520, 1.6110, 2.6429)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C2D #0C4221
analogous
#3C0C42 #420C2D #420C12
triadic
#420C2D #2D420C #0C2D42
tetradic
#420C2D #423C0C #0C4221 #0C1242
square
#420C2D #423C0C #0C4221 #0C1242
split-complementary
#420C2D #12420C #0C423C
monochromatic
#1A0512 #1A0512 #420C2D #761550 #AA1F74

Accessibility & contrast

On white

15.88
#420C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C2D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C2D#FFFFFF#000000##FFFFFF
##420C2D1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#23262C
Tritanopia (blue-blind)
#470A1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c2d;
/* rgb */ color: rgb(66, 12, 45);
/* oklch */ color: oklch(26.5% 0.091 347.6);
Tailwind
colors: {
  custom: {
    50: '#795165',
    500: '#420c2d',
    950: '#000000',
  },
}
SCSS
$custom: #420c2d;
$custom-light: #795165;
$custom-dark: #000000;
JSON
{
  "hex": "#420c2d",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 323.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26454,
    "c": 0.09061,
    "h": 347.6
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#420C2D
secondary
#2C7E4C
accent
#EC803C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #420C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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