#78155E#78155E

#78155E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.7% C 0.152 H 341.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#78155E
RGBrgb(120, 21, 94)
HSLhsl(316, 70%, 28%)
HSVhsv(316, 83%, 47%)
CMYKcmyk(0%, 82.5%, 21.7%, 52.9%)
CIE-LABlab(27.68, 48.05, -18.09)
CIE-LCHlch(27.68, 51.34, 339.37°)
OKLaboklab(39.68% 0.1443 -0.0487)
OKLCHoklch(39.68% 0.152 341.3)
XYZxyz(10.0346, 5.3386, 11.0895)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78155E #15782F
analogous
#611578 #78155E #78152C
triadic
#78155E #5E7815 #155E78
tetradic
#78155E #786115 #15782F #152C78
square
#78155E #786115 #15782F #152C78
split-complementary
#78155E #2C7815 #157861
monochromatic
#1A0514 #440C35 #78155E #AC1E87 #DA2DAD

Accessibility & contrast

On white

10.16
#78155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#78155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78155E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78155E#FFFFFF#000000##FFFFFF
##78155E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3760
Deuteranopia (green-blind)
#3F475C
Tritanopia (blue-blind)
#801738
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78155e;
/* rgb */ color: rgb(120, 21, 94);
/* oklch */ color: oklch(39.7% 0.152 341.3);
Tailwind
colors: {
  custom: {
    50: '#a35f8c',
    500: '#78155e',
    950: '#000000',
  },
}
SCSS
$custom: #78155e;
$custom-light: #a35f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#78155e",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 315.758,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.15226,
    "h": 341.3
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#78155E
secondary
#3BAE59
accent
#ED6A3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #78155E

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

Preview Lab → · Contrast checker → · Palette generator →

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