#78164E#78164E

#78164E is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.142 H 351.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#78164E
RGBrgb(120, 22, 78)
HSLhsl(326, 69%, 28%)
HSVhsv(326, 82%, 47%)
CMYKcmyk(0%, 81.7%, 35%, 52.9%)
CIE-LABlab(27.07, 45.65, -8.45)
CIE-LCHlch(27.07, 46.43, 349.52°)
OKLaboklab(39.01% 0.14 -0.0219)
OKLCHoklch(39.01% 0.142 351.1)
XYZxyz(9.4083, 5.1181, 7.6987)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78164E #167840
analogous
#711678 #78164E #78161D
triadic
#78164E #4E7816 #164E78
tetradic
#78164E #787116 #167840 #161D78
square
#78164E #787116 #167840 #161D78
split-complementary
#78164E #1D7816 #167871
monochromatic
#1A0511 #440D2C #78164E #AC1F70 #D92F90

Accessibility & contrast

On white

10.38
#78164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#78164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78164E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78164E#FFFFFF#000000##FFFFFF
##78164E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#44464C
Tritanopia (blue-blind)
#820D30
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78164e;
/* rgb */ color: rgb(120, 22, 78);
/* oklch */ color: oklch(39.0% 0.142 351.1);
Tailwind
colors: {
  custom: {
    50: '#a35f7f',
    500: '#78164e',
    950: '#000000',
  },
}
SCSS
$custom: #78164e;
$custom-light: #a35f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#78164e",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 325.714,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.14168,
    "h": 351.1
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#78164E
secondary
#3CAD6D
accent
#EC873C
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #78164E

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

Preview Lab → · Contrast checker → · Palette generator →

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