#420822#420822

#420822 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.6% C 0.090 H 358.9°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#420822
RGBrgb(66, 8, 34)
HSLhsl(333, 78%, 15%)
HSVhsv(333, 88%, 26%)
CMYKcmyk(0%, 87.9%, 48.5%, 74.1%)
CIE-LABlab(12.27, 29.22, -0.79)
CIE-LCHlch(12.27, 29.24, 358.45°)
OKLaboklab(25.55% 0.0899 -0.0017)
OKLCHoklch(25.55% 0.09 358.9)
XYZxyz(2.6225, 1.4478, 1.6544)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420822 #084228
analogous
#42083F #420822 #420B08
triadic
#420822 #224208 #082242
tetradic
#420822 #3F4208 #084228 #0B0842
square
#420822 #3F4208 #084228 #0B0842
split-complementary
#420822 #08420B #083F42
monochromatic
#1B030E #1B030E #420822 #790F3E #AF155A

Accessibility & contrast

On white

16.29
#420822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#420822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420822
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420822#FFFFFF#000000##FFFFFF
##4208221.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151923
Deuteranopia (green-blind)
#252421
Tritanopia (blue-blind)
#480114
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420822;
/* rgb */ color: rgb(66, 8, 34);
/* oklch */ color: oklch(25.6% 0.090 358.9);
Tailwind
colors: {
  custom: {
    50: '#7a4e5c',
    500: '#420822',
    950: '#000000',
  },
}
SCSS
$custom: #420822;
$custom-light: #7a4e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#420822",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 333.103,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25553,
    "c": 0.08987,
    "h": 358.9
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#420822
secondary
#258058
accent
#F59E33
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #420822

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

Preview Lab → · Contrast checker → · Palette generator →

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