#420518#420518

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

Color values

HEX#420518
RGBrgb(66, 5, 24)
HSLhsl(341, 86%, 14%)
HSVhsv(341, 92%, 26%)
CMYKcmyk(0%, 92.4%, 63.6%, 74.1%)
CIE-LABlab(11.51, 29.47, 5.66)
CIE-LCHlch(11.51, 30.01, 10.87°)
OKLaboklab(24.88% 0.0896 0.0143)
OKLCHoklch(24.88% 0.091 9.1)
XYZxyz(2.4662, 1.3331, 0.9914)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420518 #05422F
analogous
#420537 #420518 #421105
triadic
#420518 #184205 #051842
tetradic
#420518 #374205 #05422F #110542
square
#420518 #374205 #05422F #110542
split-complementary
#420518 #054211 #053742
monochromatic
#1C020A #1C020A #420518 #7B092D #B40E41

Accessibility & contrast

On white

16.58
#420518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420518
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420518#FFFFFF#000000##FFFFFF
##4205181.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420518;
/* rgb */ color: rgb(66, 5, 24);
/* oklch */ color: oklch(24.9% 0.091 9.1);
Tailwind
colors: {
  custom: {
    50: '#7b4d54',
    500: '#420518',
    950: '#000000',
  },
}
SCSS
$custom: #420518;
$custom-light: #7b4d54;
$custom-dark: #000000;
JSON
{
  "hex": "#420518",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 24
  },
  "hsl": {
    "h": 341.311,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24882,
    "c": 0.09071,
    "h": 9.1
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#420518
secondary
#208264
accent
#FCBB2C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #420518

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

Preview Lab → · Contrast checker → · Palette generator →

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