#420831#420831

#420831 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.099 H 342.8°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#420831
RGBrgb(66, 8, 49)
HSLhsl(318, 78%, 15%)
HSVhsv(318, 88%, 26%)
CMYKcmyk(0%, 87.9%, 25.8%, 74.1%)
CIE-LABlab(12.95, 31.25, -10.85)
CIE-LCHlch(12.95, 33.08, 340.85°)
OKLaboklab(26.27% 0.0942 -0.0291)
OKLCHoklch(26.27% 0.099 342.8)
XYZxyz(2.8881, 1.5540, 3.0530)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420831 #084219
analogous
#360842 #420831 #420814
triadic
#420831 #314208 #083142
tetradic
#420831 #423608 #084219 #081442
square
#420831 #423608 #084219 #081442
split-complementary
#420831 #144208 #084236
monochromatic
#1B0314 #1B0314 #420831 #790F5A #AF1582

Accessibility & contrast

On white

16.02
#420831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#420831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420831
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420831#FFFFFF#000000##FFFFFF
##4208311.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1B32
Deuteranopia (green-blind)
#212530
Tritanopia (blue-blind)
#47081B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420831;
/* rgb */ color: rgb(66, 8, 49);
/* oklch */ color: oklch(26.3% 0.099 342.8);
Tailwind
colors: {
  custom: {
    50: '#794f69',
    500: '#420831',
    950: '#000000',
  },
}
SCSS
$custom: #420831;
$custom-light: #794f69;
$custom-dark: #000000;
JSON
{
  "hex": "#420831",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 317.586,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26265,
    "c": 0.09863,
    "h": 342.8
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#420831
secondary
#258040
accent
#F56C33
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #420831

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

Preview Lab → · Contrast checker → · Palette generator →

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