#78174C#78174C

#78174C is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.140 H 352.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#78174C
RGBrgb(120, 23, 76)
HSLhsl(327, 68%, 28%)
HSVhsv(327, 81%, 47%)
CMYKcmyk(0%, 80.8%, 36.7%, 52.9%)
CIE-LABlab(27.10, 45.10, -7.06)
CIE-LCHlch(27.10, 45.65, 351.10°)
OKLaboklab(39% 0.1384 -0.0182)
OKLCHoklch(39% 0.14 352.5)
XYZxyz(9.3572, 5.1288, 7.3333)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78174C #177843
analogous
#731778 #78174C #78171C
triadic
#78174C #4C7817 #174C78
tetradic
#78174C #787317 #177843 #171C78
square
#78174C #787317 #177843 #171C78
split-complementary
#78174C #1C7817 #177873
monochromatic
#1A0510 #450D2B #78174C #AB216D #D8328C

Accessibility & contrast

On white

10.37
#78174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#78174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78174C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78174C#FFFFFF#000000##FFFFFF
##78174C1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354D
Deuteranopia (green-blind)
#45464A
Tritanopia (blue-blind)
#820D2F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78174c;
/* rgb */ color: rgb(120, 23, 76);
/* oklch */ color: oklch(39.0% 0.140 352.5);
Tailwind
colors: {
  custom: {
    50: '#a35f7e',
    500: '#78174c',
    950: '#000000',
  },
}
SCSS
$custom: #78174c;
$custom-light: #a35f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#78174c",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 327.216,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.13962,
    "h": 352.5
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#78174C
secondary
#3EAD70
accent
#EB8C3D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #78174C

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

Preview Lab → · Contrast checker → · Palette generator →

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