#802456#802456

#802456 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.136 H 351.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#802456
RGBrgb(128, 36, 86)
HSLhsl(327, 56%, 32%)
HSVhsv(327, 72%, 50%)
CMYKcmyk(0%, 71.9%, 32.8%, 49.8%)
CIE-LABlab(30.70, 43.94, -8.10)
CIE-LCHlch(30.70, 44.68, 349.55°)
OKLaboklab(42.05% 0.1342 -0.021)
OKLCHoklch(42.05% 0.136 351.1)
XYZxyz(11.2133, 6.5241, 9.4711)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802456 #24804E
analogous
#7C2480 #802456 #802428
triadic
#802456 #568024 #245680
tetradic
#802456 #807C24 #24804E #242880
square
#802456 #807C24 #24804E #242880
split-complementary
#802456 #288024 #24807C
monochromatic
#200916 #501736 #802456 #B03176 #CE5095

Accessibility & contrast

On white

9.11
#802456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#802456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802456
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802456#FFFFFF#000000##FFFFFF
##8024561.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E57
Deuteranopia (green-blind)
#4D4E54
Tritanopia (blue-blind)
#8A1E39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802456;
/* rgb */ color: rgb(128, 36, 86);
/* oklch */ color: oklch(42.0% 0.136 351.1);
Tailwind
colors: {
  custom: {
    50: '#a86785',
    500: '#802456',
    950: '#000000',
  },
}
SCSS
$custom: #802456;
$custom-light: #a86785;
$custom-dark: #000000;
JSON
{
  "hex": "#802456",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 327.391,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.13579,
    "h": 351.1
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#802456
secondary
#4EB27C
accent
#DF8D48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802456

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

Preview Lab → · Contrast checker → · Palette generator →

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