#420C30#420C30

#420C30 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.093 H 344.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#420C30
RGBrgb(66, 12, 48)
HSLhsl(320, 69%, 15%)
HSVhsv(320, 82%, 26%)
CMYKcmyk(0%, 81.8%, 27.3%, 74.1%)
CIE-LABlab(13.44, 29.55, -9.36)
CIE-LCHlch(13.44, 31.00, 342.42°)
OKLaboklab(26.61% 0.0893 -0.0249)
OKLCHoklch(26.61% 0.093 344.4)
XYZxyz(2.9119, 1.6349, 2.9580)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C30 #0C421E
analogous
#390C42 #420C30 #420C15
triadic
#420C30 #30420C #0C3042
tetradic
#420C30 #42390C #0C421E #0C1542
square
#420C30 #42390C #0C421E #0C1542
split-complementary
#420C30 #15420C #0C4239
monochromatic
#1A0513 #1A0513 #420C30 #761556 #AA1F7B

Accessibility & contrast

On white

15.83
#420C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C30
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C30#FFFFFF#000000##FFFFFF
##420C301.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D31
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#470C1C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c30;
/* rgb */ color: rgb(66, 12, 48);
/* oklch */ color: oklch(26.6% 0.093 344.4);
Tailwind
colors: {
  custom: {
    50: '#795168',
    500: '#420c30',
    950: '#000000',
  },
}
SCSS
$custom: #420c30;
$custom-light: #795168;
$custom-dark: #000000;
JSON
{
  "hex": "#420c30",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 320,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26607,
    "c": 0.09268,
    "h": 344.4
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#420C30
secondary
#2C7E47
accent
#EC773C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420C30

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

Preview Lab → · Contrast checker → · Palette generator →

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