#80286C#80286C

#80286C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.145 H 338.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#80286C
RGBrgb(128, 40, 108)
HSLhsl(314, 52%, 33%)
HSVhsv(314, 69%, 50%)
CMYKcmyk(0%, 68.8%, 15.6%, 49.8%)
CIE-LABlab(32.24, 45.45, -19.94)
CIE-LCHlch(32.24, 49.64, 336.31°)
OKLaboklab(43.48% 0.1341 -0.054)
OKLCHoklch(43.48% 0.145 338.1)
XYZxyz(12.3679, 7.1906, 14.9210)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80286C #28803C
analogous
#682880 #80286C #802840
triadic
#80286C #6C8028 #286C80
tetradic
#80286C #806828 #28803C #284080
square
#80286C #806828 #28803C #284080
split-complementary
#80286C #408028 #288068
monochromatic
#230B1D #511945 #80286C #AF3793 #CB58B1

Accessibility & contrast

On white

8.61
#80286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#80286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80286C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80286C#FFFFFF#000000##FFFFFF
##80286C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436E
Deuteranopia (green-blind)
#47516A
Tritanopia (blue-blind)
#872C46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80286c;
/* rgb */ color: rgb(128, 40, 108);
/* oklch */ color: oklch(43.5% 0.145 338.1);
Tailwind
colors: {
  custom: {
    50: '#a86996',
    500: '#80286c',
    950: '#000000',
  },
}
SCSS
$custom: #80286c;
$custom-light: #a86996;
$custom-dark: #000000;
JSON
{
  "hex": "#80286c",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 313.636,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.14458,
    "h": 338.1
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#80286C
secondary
#54B069
accent
#DC6D4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #80286C

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

Preview Lab → · Contrast checker → · Palette generator →

#80286C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva