#420828#420828

#420828 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.093 H 352.2°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#420828
RGBrgb(66, 8, 40)
HSLhsl(327, 78%, 15%)
HSVhsv(327, 88%, 26%)
CMYKcmyk(0%, 87.9%, 39.4%, 74.1%)
CIE-LABlab(12.52, 29.97, -4.90)
CIE-LCHlch(12.52, 30.36, 350.72°)
OKLaboklab(25.81% 0.092 -0.0126)
OKLCHoklch(25.81% 0.093 352.2)
XYZxyz(2.7168, 1.4855, 2.1507)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420828 #084222
analogous
#3F0842 #420828 #42080B
triadic
#420828 #284208 #082842
tetradic
#420828 #423F08 #084222 #080B42
square
#420828 #423F08 #084222 #080B42
split-complementary
#420828 #0B4208 #08423F
monochromatic
#1B0311 #1B0311 #420828 #790F49 #AF156A

Accessibility & contrast

On white

16.19
#420828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#420828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420828
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420828#FFFFFF#000000##FFFFFF
##4208281.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#242427
Tritanopia (blue-blind)
#480417
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420828;
/* rgb */ color: rgb(66, 8, 40);
/* oklch */ color: oklch(25.8% 0.093 352.2);
Tailwind
colors: {
  custom: {
    50: '#7a4f61',
    500: '#420828',
    950: '#000000',
  },
}
SCSS
$custom: #420828;
$custom-light: #7a4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#420828",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 326.897,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2581,
    "c": 0.09282,
    "h": 352.2
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#420828
secondary
#25804E
accent
#F58A33
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420828

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

Preview Lab → · Contrast checker → · Palette generator →

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