#78165C#78165C

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

Color values

HEX#78165C
RGBrgb(120, 22, 92)
HSLhsl(317, 69%, 28%)
HSVhsv(317, 82%, 47%)
CMYKcmyk(0%, 81.7%, 23.3%, 52.9%)
CIE-LABlab(27.68, 47.47, -16.77)
CIE-LCHlch(27.68, 50.35, 340.54°)
OKLaboklab(39.65% 0.143 -0.045)
OKLCHoklch(39.65% 0.15 342.5)
XYZxyz(9.9648, 5.3407, 10.6292)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78165C #167832
analogous
#631678 #78165C #78162B
triadic
#78165C #5C7816 #165C78
tetradic
#78165C #786316 #167832 #162B78
square
#78165C #786316 #167832 #162B78
split-complementary
#78165C #2B7816 #167863
monochromatic
#1A0514 #440D34 #78165C #AC1F84 #D92FA9

Accessibility & contrast

On white

10.15
#78165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#78165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78165C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78165C#FFFFFF#000000##FFFFFF
##78165C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78165c;
/* rgb */ color: rgb(120, 22, 92);
/* oklch */ color: oklch(39.7% 0.150 342.5);
Tailwind
colors: {
  custom: {
    50: '#a3608a',
    500: '#78165c',
    950: '#000000',
  },
}
SCSS
$custom: #78165c;
$custom-light: #a3608a;
$custom-dark: #000000;
JSON
{
  "hex": "#78165c",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 317.143,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.14995,
    "h": 342.5
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#78165C
secondary
#3CAD5D
accent
#EC6E3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #78165C

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

Preview Lab → · Contrast checker → · Palette generator →

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