#78155C#78155C

#78155C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.151 H 342.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#78155C
RGBrgb(120, 21, 92)
HSLhsl(317, 70%, 28%)
HSVhsv(317, 83%, 47%)
CMYKcmyk(0%, 82.5%, 23.3%, 52.9%)
CIE-LABlab(27.58, 47.77, -16.93)
CIE-LCHlch(27.58, 50.68, 340.48°)
OKLaboklab(39.58% 0.1439 -0.0454)
OKLCHoklch(39.58% 0.151 342.5)
XYZxyz(9.9460, 5.3032, 10.6230)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78155C #157831
analogous
#631578 #78155C #78152A
triadic
#78155C #5C7815 #155C78
tetradic
#78155C #786315 #157831 #152A78
square
#78155C #786315 #157831 #152A78
split-complementary
#78155C #2A7815 #157863
monochromatic
#1A0514 #440C34 #78155C #AC1E84 #DA2DA9

Accessibility & contrast

On white

10.19
#78155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78155C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78155C#FFFFFF#000000##FFFFFF
##78155C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375E
Deuteranopia (green-blind)
#40475A
Tritanopia (blue-blind)
#801637
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78155c;
/* rgb */ color: rgb(120, 21, 92);
/* oklch */ color: oklch(39.6% 0.151 342.5);
Tailwind
colors: {
  custom: {
    50: '#a35f8a',
    500: '#78155c',
    950: '#000000',
  },
}
SCSS
$custom: #78155c;
$custom-light: #a35f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#78155c",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 316.97,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.15095,
    "h": 342.5
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#78155C
secondary
#3BAE5C
accent
#ED6D3B
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050B
muted
#7F797C

Preview Lab

Preview with #78155C

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

Preview Lab → · Contrast checker → · Palette generator →

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