#420817#420817

#420817 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.087 H 11.6°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#420817
RGBrgb(66, 8, 23)
HSLhsl(344, 78%, 15%)
HSVhsv(344, 88%, 26%)
CMYKcmyk(0%, 87.9%, 65.2%, 74.1%)
CIE-LABlab(11.92, 28.13, 6.98)
CIE-LCHlch(11.92, 28.99, 13.94°)
OKLaboklab(25.18% 0.0851 0.0174)
OKLCHoklch(25.18% 0.087 11.6)
XYZxyz(2.4885, 1.3941, 0.9485)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420817 #084233
analogous
#420834 #420817 #421608
triadic
#420817 #174208 #081742
tetradic
#420817 #344208 #084233 #160842
square
#420817 #344208 #084233 #160842
split-complementary
#420817 #084216 #083442
monochromatic
#1B030A #1B030A #420817 #790F2A #AF153D

Accessibility & contrast

On white

16.42
#420817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#420817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420817
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420817#FFFFFF#000000##FFFFFF
##4208171.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181817
Deuteranopia (green-blind)
#272416
Tritanopia (blue-blind)
#49000E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #420817;
/* rgb */ color: rgb(66, 8, 23);
/* oklch */ color: oklch(25.2% 0.087 11.6);
Tailwind
colors: {
  custom: {
    50: '#7b4e53',
    500: '#420817',
    950: '#000000',
  },
}
SCSS
$custom: #420817;
$custom-light: #7b4e53;
$custom-dark: #000000;
JSON
{
  "hex": "#420817",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 23
  },
  "hsl": {
    "h": 344.483,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25178,
    "c": 0.08684,
    "h": 11.6
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#420817
secondary
#258069
accent
#F5C333
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #420817

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

Preview Lab → · Contrast checker → · Palette generator →

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