#78155F#78155F

#78155F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.153 H 340.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#78155F
RGBrgb(120, 21, 95)
HSLhsl(315, 70%, 28%)
HSVhsv(315, 83%, 47%)
CMYKcmyk(0%, 82.5%, 20.8%, 52.9%)
CIE-LABlab(27.73, 48.19, -18.67)
CIE-LCHlch(27.73, 51.68, 338.82°)
OKLaboklab(39.73% 0.1444 -0.0504)
OKLCHoklch(39.73% 0.153 340.8)
XYZxyz(10.0798, 5.3567, 11.3274)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78155F #15782E
analogous
#601578 #78155F #78152D
triadic
#78155F #5F7815 #155F78
tetradic
#78155F #786015 #15782E #152D78
square
#78155F #786015 #15782E #152D78
split-complementary
#78155F #2D7815 #157860
monochromatic
#1A0515 #440C36 #78155F #AC1E88 #DA2DAF

Accessibility & contrast

On white

10.14
#78155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78155F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78155F#FFFFFF#000000##FFFFFF
##78155F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3761
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#801839
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78155f;
/* rgb */ color: rgb(120, 21, 95);
/* oklch */ color: oklch(39.7% 0.153 340.8);
Tailwind
colors: {
  custom: {
    50: '#a3608c',
    500: '#78155f',
    950: '#000000',
  },
}
SCSS
$custom: #78155f;
$custom-light: #a3608c;
$custom-dark: #000000;
JSON
{
  "hex": "#78155f",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 315.152,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.15292,
    "h": 340.8
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#78155F
secondary
#3BAE58
accent
#ED683B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #78155F

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

Preview Lab → · Contrast checker → · Palette generator →

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