#420818#420818

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

Color values

HEX#420818
RGBrgb(66, 8, 24)
HSLhsl(343, 78%, 15%)
HSVhsv(343, 88%, 26%)
CMYKcmyk(0%, 87.9%, 63.6%, 74.1%)
CIE-LABlab(11.95, 28.22, 6.27)
CIE-LCHlch(11.95, 28.90, 12.52°)
OKLaboklab(25.21% 0.0855 0.0158)
OKLCHoklch(25.21% 0.087 10.4)
XYZxyz(2.4987, 1.3982, 1.0023)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420818 #084232
analogous
#420835 #420818 #421508
triadic
#420818 #184208 #081842
tetradic
#420818 #354208 #084232 #150842
square
#420818 #354208 #084232 #150842
split-complementary
#420818 #084215 #083542
monochromatic
#1B030A #1B030A #420818 #790F2C #AF1540

Accessibility & contrast

On white

16.41
#420818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420818
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420818#FFFFFF#000000##FFFFFF
##4208181.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181818
Deuteranopia (green-blind)
#272417
Tritanopia (blue-blind)
#49000F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #420818;
/* rgb */ color: rgb(66, 8, 24);
/* oklch */ color: oklch(25.2% 0.087 10.4);
Tailwind
colors: {
  custom: {
    50: '#7b4e54',
    500: '#420818',
    950: '#000000',
  },
}
SCSS
$custom: #420818;
$custom-light: #7b4e54;
$custom-dark: #000000;
JSON
{
  "hex": "#420818",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 343.448,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25207,
    "c": 0.08697,
    "h": 10.4
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#420818
secondary
#258067
accent
#F5BF33
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #420818

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

Preview Lab → · Contrast checker → · Palette generator →

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