#78155B#78155B

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

Color values

HEX#78155B
RGBrgb(120, 21, 91)
HSLhsl(318, 70%, 28%)
HSVhsv(318, 83%, 47%)
CMYKcmyk(0%, 82.5%, 24.2%, 52.9%)
CIE-LABlab(27.53, 47.63, -16.35)
CIE-LCHlch(27.53, 50.35, 341.06°)
OKLaboklab(39.53% 0.1438 -0.0438)
OKLCHoklch(39.53% 0.15 343.1)
XYZxyz(9.9026, 5.2858, 10.3943)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78155B #157832
analogous
#641578 #78155B #781529
triadic
#78155B #5B7815 #155B78
tetradic
#78155B #786415 #157832 #152978
square
#78155B #786415 #157832 #152978
split-complementary
#78155B #297815 #157864
monochromatic
#1A0514 #440C34 #78155B #AC1E82 #DA2DA8

Accessibility & contrast

On white

10.21
#78155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#78155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78155B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78155B#FFFFFF#000000##FFFFFF
##78155B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375D
Deuteranopia (green-blind)
#404759
Tritanopia (blue-blind)
#801537
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78155b;
/* rgb */ color: rgb(120, 21, 91);
/* oklch */ color: oklch(39.5% 0.150 343.1);
Tailwind
colors: {
  custom: {
    50: '#a35f89',
    500: '#78155b',
    950: '#000000',
  },
}
SCSS
$custom: #78155b;
$custom-light: #a35f89;
$custom-dark: #000000;
JSON
{
  "hex": "#78155b",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 317.576,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.1503,
    "h": 343.1
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#78155B
secondary
#3BAE5D
accent
#ED6F3B
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050B
muted
#7F797C

Preview Lab

Preview with #78155B

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

Preview Lab → · Contrast checker → · Palette generator →

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