#420717#420717

#420717 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.088 H 11.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#420717
RGBrgb(66, 7, 23)
HSLhsl(344, 81%, 14%)
HSVhsv(344, 89%, 26%)
CMYKcmyk(0%, 89.4%, 65.2%, 74.1%)
CIE-LABlab(11.77, 28.54, 6.78)
CIE-LCHlch(11.77, 29.34, 13.37°)
OKLaboklab(25.07% 0.0864 0.0169)
OKLCHoklch(25.07% 0.088 11.1)
XYZxyz(2.4776, 1.3724, 0.9449)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420717 #074232
analogous
#420735 #420717 #421507
triadic
#420717 #174207 #071742
tetradic
#420717 #354207 #074232 #150742
square
#420717 #354207 #074232 #150742
split-complementary
#420717 #074215 #073542
monochromatic
#1C030A #1C030A #420717 #790D2A #B1133E

Accessibility & contrast

On white

16.48
#420717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420717
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420717#FFFFFF#000000##FFFFFF
##4207171.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420717;
/* rgb */ color: rgb(66, 7, 23);
/* oklch */ color: oklch(25.1% 0.088 11.1);
Tailwind
colors: {
  custom: {
    50: '#7b4e53',
    500: '#420717',
    950: '#000000',
  },
}
SCSS
$custom: #420717;
$custom-light: #7b4e53;
$custom-dark: #000000;
JSON
{
  "hex": "#420717",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 343.729,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2507,
    "c": 0.08805,
    "h": 11.1
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#420717
secondary
#248168
accent
#F7C131
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #420717

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

Preview Lab → · Contrast checker → · Palette generator →

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