#420837#420837

#420837 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.103 H 337.2°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#420837
RGBrgb(66, 8, 55)
HSLhsl(311, 78%, 15%)
HSVhsv(311, 88%, 26%)
CMYKcmyk(0%, 87.9%, 16.7%, 74.1%)
CIE-LABlab(13.28, 32.22, -14.68)
CIE-LCHlch(13.28, 35.41, 335.51°)
OKLaboklab(26.61% 0.0951 -0.0399)
OKLCHoklch(26.61% 0.103 337.2)
XYZxyz(3.0233, 1.6080, 3.7649)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420837 #084213
analogous
#300842 #420837 #42081A
triadic
#420837 #374208 #083742
tetradic
#420837 #423008 #084213 #081A42
square
#420837 #423008 #084213 #081A42
split-complementary
#420837 #1A4208 #084230
monochromatic
#1B0317 #1B0317 #420837 #790F64 #AF1592

Accessibility & contrast

On white

15.89
#420837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#420837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420837
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420837#FFFFFF#000000##FFFFFF
##4208371.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C38
Deuteranopia (green-blind)
#1F2536
Tritanopia (blue-blind)
#460C1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420837;
/* rgb */ color: rgb(66, 8, 55);
/* oklch */ color: oklch(26.6% 0.103 337.2);
Tailwind
colors: {
  custom: {
    50: '#794f6e',
    500: '#420837',
    950: '#000000',
  },
}
SCSS
$custom: #420837;
$custom-light: #794f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#420837",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 311.379,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26612,
    "c": 0.10317,
    "h": 337.2
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#420837
secondary
#258037
accent
#F55833
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #420837

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

Preview Lab → · Contrast checker → · Palette generator →

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