#420F36#420F36

#420F36 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.093 H 338.7°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#420F36
RGBrgb(66, 15, 54)
HSLhsl(314, 63%, 16%)
HSVhsv(314, 77%, 26%)
CMYKcmyk(0%, 77.3%, 18.2%, 74.1%)
CIE-LABlab(14.21, 29.25, -12.50)
CIE-LCHlch(14.21, 31.81, 336.85°)
OKLaboklab(27.27% 0.0866 -0.0338)
OKLCHoklch(27.27% 0.093 338.7)
XYZxyz(3.0835, 1.7665, 3.6679)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F36 #0F421B
analogous
#340F42 #420F36 #420F1C
triadic
#420F36 #36420F #0F3642
tetradic
#420F36 #42340F #0F421B #0F1C42
square
#420F36 #42340F #0F421B #0F1C42
split-complementary
#420F36 #1C420F #0F4234
monochromatic
#190614 #190614 #420F36 #741A5F #A62688

Accessibility & contrast

On white

15.52
#420F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F36
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F36#FFFFFF#000000##FFFFFF
##420F361.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111F37
Deuteranopia (green-blind)
#222735
Tritanopia (blue-blind)
#461120
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420f36;
/* rgb */ color: rgb(66, 15, 54);
/* oklch */ color: oklch(27.3% 0.093 338.7);
Tailwind
colors: {
  custom: {
    50: '#79526d',
    500: '#420f36',
    950: '#000000',
  },
}
SCSS
$custom: #420f36;
$custom-light: #79526d;
$custom-dark: #000000;
JSON
{
  "hex": "#420f36",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 314.118,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27268,
    "c": 0.09295,
    "h": 338.7
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#420F36
secondary
#307C42
accent
#E66842
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #420F36

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

Preview Lab → · Contrast checker → · Palette generator →

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