#78174E#78174E

#78174E is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.141 H 351.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#78174E
RGBrgb(120, 23, 78)
HSLhsl(326, 68%, 28%)
HSVhsv(326, 81%, 47%)
CMYKcmyk(0%, 80.8%, 35%, 52.9%)
CIE-LABlab(27.18, 45.34, -8.28)
CIE-LCHlch(27.18, 46.09, 349.65°)
OKLaboklab(39.08% 0.139 -0.0215)
OKLCHoklch(39.08% 0.141 351.2)
XYZxyz(9.4278, 5.1571, 7.7052)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78174E #177841
analogous
#711778 #78174E #78171E
triadic
#78174E #4E7817 #174E78
tetradic
#78174E #787117 #177841 #171E78
square
#78174E #787117 #177841 #171E78
split-complementary
#78174E #1E7817 #177871
monochromatic
#1A0511 #450D2D #78174E #AB216F #D83290

Accessibility & contrast

On white

10.34
#78174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78174E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78174E#FFFFFF#000000##FFFFFF
##78174E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#45464C
Tritanopia (blue-blind)
#820E30
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78174e;
/* rgb */ color: rgb(120, 23, 78);
/* oklch */ color: oklch(39.1% 0.141 351.2);
Tailwind
colors: {
  custom: {
    50: '#a3607f',
    500: '#78174e',
    950: '#000000',
  },
}
SCSS
$custom: #78174e;
$custom-light: #a3607f;
$custom-dark: #000000;
JSON
{
  "hex": "#78174e",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 325.979,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39084,
    "c": 0.14064,
    "h": 351.2
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#78174E
secondary
#3EAD6E
accent
#EB883D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #78174E

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

Preview Lab → · Contrast checker → · Palette generator →

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