#802147#802147

#802147 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.133 H 0.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#802147
RGBrgb(128, 33, 71)
HSLhsl(336, 59%, 32%)
HSVhsv(336, 74%, 50%)
CMYKcmyk(0%, 74.2%, 44.5%, 49.8%)
CIE-LABlab(29.75, 43.37, 0.36)
CIE-LCHlch(29.75, 43.37, 0.48°)
OKLaboklab(41.17% 0.133 0.0014)
OKLCHoklch(41.17% 0.133 0.6)
XYZxyz(10.5841, 6.1332, 6.5865)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802147 #21805A
analogous
#802177 #802147 #802B21
triadic
#802147 #478021 #214780
tetradic
#802147 #778021 #21805A #2B2180
square
#802147 #778021 #21805A #2B2180
split-complementary
#802147 #21802B #217780
monochromatic
#1F0811 #4F142C #802147 #B12E62 #D14B80

Accessibility & contrast

On white

9.43
#802147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#802147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802147
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802147#FFFFFF#000000##FFFFFF
##8021471.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#4F4D45
Tritanopia (blue-blind)
#8B1331
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802147;
/* rgb */ color: rgb(128, 33, 71);
/* oklch */ color: oklch(41.2% 0.133 0.6);
Tailwind
colors: {
  custom: {
    50: '#a9657a',
    500: '#802147',
    950: '#000000',
  },
}
SCSS
$custom: #802147;
$custom-light: #a9657a;
$custom-dark: #000000;
JSON
{
  "hex": "#802147",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 336,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.13297,
    "h": 0.6
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#802147
secondary
#4AB389
accent
#E2A446
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #802147

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

Preview Lab → · Contrast checker → · Palette generator →

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