#420F34#420F34

#420F34 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.2% C 0.091 H 340.7°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#420F34
RGBrgb(66, 15, 52)
HSLhsl(316, 63%, 16%)
HSVhsv(316, 77%, 26%)
CMYKcmyk(0%, 77.3%, 21.2%, 74.1%)
CIE-LABlab(14.11, 28.91, -11.23)
CIE-LCHlch(14.11, 31.01, 338.77°)
OKLaboklab(27.16% 0.0862 -0.0302)
OKLCHoklch(27.16% 0.091 340.7)
XYZxyz(3.0375, 1.7481, 3.4256)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F34 #0F421D
analogous
#360F42 #420F34 #420F1A
triadic
#420F34 #34420F #0F3442
tetradic
#420F34 #42360F #0F421D #0F1A42
square
#420F34 #42360F #0F421D #0F1A42
split-complementary
#420F34 #1A420F #0F4236
monochromatic
#190614 #190614 #420F34 #741A5B #A62683

Accessibility & contrast

On white

15.56
#420F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F34
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F34#FFFFFF#000000##FFFFFF
##420F341.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F35
Deuteranopia (green-blind)
#222733
Tritanopia (blue-blind)
#46101F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420f34;
/* rgb */ color: rgb(66, 15, 52);
/* oklch */ color: oklch(27.2% 0.091 340.7);
Tailwind
colors: {
  custom: {
    50: '#79526b',
    500: '#420f34',
    950: '#000000',
  },
}
SCSS
$custom: #420f34;
$custom-light: #79526b;
$custom-dark: #000000;
JSON
{
  "hex": "#420f34",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 316.471,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27157,
    "c": 0.09134,
    "h": 340.7
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#420F34
secondary
#307C45
accent
#E66F42
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420F34

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

Preview Lab → · Contrast checker → · Palette generator →

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