#78165E#78165E

#78165E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.151 H 341.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#78165E
RGBrgb(120, 22, 94)
HSLhsl(316, 69%, 28%)
HSVhsv(316, 82%, 47%)
CMYKcmyk(0%, 81.7%, 21.7%, 52.9%)
CIE-LABlab(27.78, 47.75, -17.93)
CIE-LCHlch(27.78, 51.01, 339.42°)
OKLaboklab(39.75% 0.1434 -0.0483)
OKLCHoklch(39.75% 0.151 341.4)
XYZxyz(10.0534, 5.3761, 11.0957)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78165E #167830
analogous
#611678 #78165E #78162D
triadic
#78165E #5E7816 #165E78
tetradic
#78165E #786116 #167830 #162D78
square
#78165E #786116 #167830 #162D78
split-complementary
#78165E #2D7816 #167861
monochromatic
#1A0514 #440D35 #78165E #AC1F87 #D92FAC

Accessibility & contrast

On white

10.12
#78165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#78165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78165E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78165E#FFFFFF#000000##FFFFFF
##78165E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203860
Deuteranopia (green-blind)
#3F475C
Tritanopia (blue-blind)
#801839
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78165e;
/* rgb */ color: rgb(120, 22, 94);
/* oklch */ color: oklch(39.8% 0.151 341.4);
Tailwind
colors: {
  custom: {
    50: '#a3608c',
    500: '#78165e',
    950: '#000000',
  },
}
SCSS
$custom: #78165e;
$custom-light: #a3608c;
$custom-dark: #000000;
JSON
{
  "hex": "#78165e",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 315.918,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.15127,
    "h": 341.4
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#78165E
secondary
#3CAD5A
accent
#EC6B3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #78165E

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

Preview Lab → · Contrast checker → · Palette generator →

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