#420517#420517

#420517 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.9% C 0.091 H 10.2°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#420517
RGBrgb(66, 5, 23)
HSLhsl(342, 86%, 14%)
HSVhsv(342, 92%, 26%)
CMYKcmyk(0%, 92.4%, 65.2%, 74.1%)
CIE-LABlab(11.48, 29.38, 6.38)
CIE-LCHlch(11.48, 30.07, 12.24°)
OKLaboklab(24.85% 0.0891 0.016)
OKLCHoklch(24.85% 0.091 10.2)
XYZxyz(2.4559, 1.3290, 0.9377)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420517 #054230
analogous
#420536 #420517 #421205
triadic
#420517 #174205 #051742
tetradic
#420517 #364205 #054230 #120542
square
#420517 #364205 #054230 #120542
split-complementary
#420517 #054212 #053642
monochromatic
#1C020A #1C020A #420517 #7B092B #B40E3F

Accessibility & contrast

On white

16.59
#420517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#420517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420517
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420517#FFFFFF#000000##FFFFFF
##4205171.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161617
Deuteranopia (green-blind)
#262315
Tritanopia (blue-blind)
#49000D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #420517;
/* rgb */ color: rgb(66, 5, 23);
/* oklch */ color: oklch(24.9% 0.091 10.2);
Tailwind
colors: {
  custom: {
    50: '#7b4d53',
    500: '#420517',
    950: '#000000',
  },
}
SCSS
$custom: #420517;
$custom-light: #7b4d53;
$custom-dark: #000000;
JSON
{
  "hex": "#420517",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 23
  },
  "hsl": {
    "h": 342.295,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24853,
    "c": 0.09054,
    "h": 10.2
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#420517
secondary
#208265
accent
#FCBF2C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #420517

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

Preview Lab → · Contrast checker → · Palette generator →

#420517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva