#420918#420918

#420918 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.086 H 10.9°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#420918
RGBrgb(66, 9, 24)
HSLhsl(344, 76%, 15%)
HSVhsv(344, 86%, 26%)
CMYKcmyk(0%, 86.4%, 63.6%, 74.1%)
CIE-LABlab(12.09, 27.81, 6.46)
CIE-LCHlch(12.09, 28.55, 13.08°)
OKLaboklab(25.31% 0.0842 0.0162)
OKLCHoklch(25.31% 0.086 10.9)
XYZxyz(2.5096, 1.4199, 1.0059)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420918 #094233
analogous
#420934 #420918 #421709
triadic
#420918 #184209 #091842
tetradic
#420918 #344209 #094233 #170942
square
#420918 #344209 #094233 #170942
split-complementary
#420918 #094217 #093442
monochromatic
#1B040A #1B040A #420918 #78102C #AE183F

Accessibility & contrast

On white

16.36
#420918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420918
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420918#FFFFFF#000000##FFFFFF
##4209181.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420918;
/* rgb */ color: rgb(66, 9, 24);
/* oklch */ color: oklch(25.3% 0.086 10.9);
Tailwind
colors: {
  custom: {
    50: '#7b4e54',
    500: '#420918',
    950: '#000000',
  },
}
SCSS
$custom: #420918;
$custom-light: #7b4e54;
$custom-dark: #000000;
JSON
{
  "hex": "#420918",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 24
  },
  "hsl": {
    "h": 344.211,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25313,
    "c": 0.08578,
    "h": 10.9
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#420918
secondary
#278068
accent
#F3C135
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #420918

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

Preview Lab → · Contrast checker → · Palette generator →

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