#78286A#78286A

#78286A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.137 H 335.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#78286A
RGBrgb(120, 40, 106)
HSLhsl(311, 50%, 31%)
HSVhsv(311, 67%, 47%)
CMYKcmyk(0%, 66.7%, 11.7%, 52.9%)
CIE-LABlab(30.76, 42.87, -21.06)
CIE-LCHlch(30.76, 47.76, 333.84°)
OKLaboklab(42.11% 0.1249 -0.0573)
OKLCHoklch(42.11% 0.137 335.3)
XYZxyz(11.1061, 6.5522, 14.3126)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78286A #287836
analogous
#5E2878 #78286A #782842
triadic
#78286A #6A7828 #286A78
tetradic
#78286A #785E28 #287836 #284278
square
#78286A #785E28 #287836 #284278
split-complementary
#78286A #427828 #28785E
monochromatic
#1C0919 #4A1941 #78286A #A63793 #C654B2

Accessibility & contrast

On white

9.09
#78286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#78286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78286A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78286A#FFFFFF#000000##FFFFFF
##78286A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#424D68
Tritanopia (blue-blind)
#7E2D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78286a;
/* rgb */ color: rgb(120, 40, 106);
/* oklch */ color: oklch(42.1% 0.137 335.3);
Tailwind
colors: {
  custom: {
    50: '#a26895',
    500: '#78286a',
    950: '#000000',
  },
}
SCSS
$custom: #78286a;
$custom-light: #a26895;
$custom-dark: #000000;
JSON
{
  "hex": "#78286a",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 310.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.13742,
    "h": 335.3
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#78286A
secondary
#52AA61
accent
#DA674E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78286A

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

Preview Lab → · Contrast checker → · Palette generator →

#78286A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva