#420C36#420C36

#420C36 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.097 H 338.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#420C36
RGBrgb(66, 12, 54)
HSLhsl(313, 69%, 15%)
HSVhsv(313, 82%, 26%)
CMYKcmyk(0%, 81.8%, 18.2%, 74.1%)
CIE-LABlab(13.76, 30.53, -13.21)
CIE-LCHlch(13.76, 33.27, 336.60°)
OKLaboklab(26.94% 0.0904 -0.0358)
OKLCHoklch(26.94% 0.097 338.4)
XYZxyz(3.0442, 1.6878, 3.6548)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C36 #0C4218
analogous
#330C42 #420C36 #420C1B
triadic
#420C36 #36420C #0C3642
tetradic
#420C36 #42330C #0C4218 #0C1B42
square
#420C36 #42330C #0C4218 #0C1B42
split-complementary
#420C36 #1B420C #0C4233
monochromatic
#1A0515 #1A0515 #420C36 #761560 #AA1F8B

Accessibility & contrast

On white

15.70
#420C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C36
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C36#FFFFFF#000000##FFFFFF
##420C361.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#460F1F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420c36;
/* rgb */ color: rgb(66, 12, 54);
/* oklch */ color: oklch(26.9% 0.097 338.4);
Tailwind
colors: {
  custom: {
    50: '#79516d',
    500: '#420c36',
    950: '#000000',
  },
}
SCSS
$custom: #420c36;
$custom-light: #79516d;
$custom-dark: #000000;
JSON
{
  "hex": "#420c36",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 313.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26938,
    "c": 0.09726,
    "h": 338.4
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#420C36
secondary
#2C7E3E
accent
#EC633C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #420C36

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

Preview Lab → · Contrast checker → · Palette generator →

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