#420C38#420C38

#420C38 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.1% C 0.099 H 336.5°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#420C38
RGBrgb(66, 12, 56)
HSLhsl(311, 69%, 15%)
HSVhsv(311, 82%, 26%)
CMYKcmyk(0%, 81.8%, 15.2%, 74.1%)
CIE-LABlab(13.87, 30.88, -14.47)
CIE-LCHlch(13.87, 34.10, 334.89°)
OKLaboklab(27.06% 0.0907 -0.0394)
OKLCHoklch(27.06% 0.099 336.5)
XYZxyz(3.0921, 1.7070, 3.9072)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C38 #0C4216
analogous
#310C42 #420C38 #420C1D
triadic
#420C38 #38420C #0C3842
tetradic
#420C38 #42310C #0C4216 #0C1D42
square
#420C38 #42310C #0C4216 #0C1D42
split-complementary
#420C38 #1D420C #0C4231
monochromatic
#1A0516 #1A0516 #420C38 #761564 #AA1F90

Accessibility & contrast

On white

15.66
#420C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C38
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C38#FFFFFF#000000##FFFFFF
##420C381.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E39
Deuteranopia (green-blind)
#202637
Tritanopia (blue-blind)
#461020
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420c38;
/* rgb */ color: rgb(66, 12, 56);
/* oklch */ color: oklch(27.1% 0.099 336.5);
Tailwind
colors: {
  custom: {
    50: '#79516e',
    500: '#420c38',
    950: '#000000',
  },
}
SCSS
$custom: #420c38;
$custom-light: #79516e;
$custom-dark: #000000;
JSON
{
  "hex": "#420c38",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 311.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27055,
    "c": 0.0989,
    "h": 336.5
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#420C38
secondary
#2C7E3B
accent
#EC5C3C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420C38

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

Preview Lab → · Contrast checker → · Palette generator →

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