#78155A#78155A

#78155A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.150 H 343.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#78155A
RGBrgb(120, 21, 90)
HSLhsl(318, 70%, 28%)
HSVhsv(318, 83%, 47%)
CMYKcmyk(0%, 82.5%, 25%, 52.9%)
CIE-LABlab(27.49, 47.49, -15.76)
CIE-LCHlch(27.49, 50.04, 341.64°)
OKLaboklab(39.48% 0.1436 -0.0422)
OKLCHoklch(39.48% 0.15 343.6)
XYZxyz(9.8598, 5.2687, 10.1686)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78155A #157833
analogous
#651578 #78155A #781528
triadic
#78155A #5A7815 #155A78
tetradic
#78155A #786515 #157833 #152878
square
#78155A #786515 #157833 #152878
split-complementary
#78155A #287815 #157865
monochromatic
#1A0514 #440C33 #78155A #AC1E81 #DA2DA6

Accessibility & contrast

On white

10.23
#78155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#78155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78155A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78155A#FFFFFF#000000##FFFFFF
##78155A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375C
Deuteranopia (green-blind)
#414758
Tritanopia (blue-blind)
#801536
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78155a;
/* rgb */ color: rgb(120, 21, 90);
/* oklch */ color: oklch(39.5% 0.150 343.6);
Tailwind
colors: {
  custom: {
    50: '#a35f88',
    500: '#78155a',
    950: '#000000',
  },
}
SCSS
$custom: #78155a;
$custom-light: #a35f88;
$custom-dark: #000000;
JSON
{
  "hex": "#78155a",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 318.182,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.14966,
    "h": 343.6
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#78155A
secondary
#3BAE5E
accent
#ED713B
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050B
muted
#7F797C

Preview Lab

Preview with #78155A

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

Preview Lab → · Contrast checker → · Palette generator →

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