#78174D#78174D

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

Color values

HEX#78174D
RGBrgb(120, 23, 77)
HSLhsl(327, 68%, 28%)
HSVhsv(327, 81%, 47%)
CMYKcmyk(0%, 80.8%, 35.8%, 52.9%)
CIE-LABlab(27.14, 45.22, -7.67)
CIE-LCHlch(27.14, 45.87, 350.37°)
OKLaboklab(39.04% 0.1387 -0.0198)
OKLCHoklch(39.04% 0.14 351.9)
XYZxyz(9.3923, 5.1428, 7.5178)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78174D #177842
analogous
#721778 #78174D #78171C
triadic
#78174D #4D7817 #174D78
tetradic
#78174D #787217 #177842 #171C78
square
#78174D #787217 #177842 #171C78
split-complementary
#78174D #1C7817 #177872
monochromatic
#1A0510 #450D2C #78174D #AB216E #D8328E

Accessibility & contrast

On white

10.35
#78174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78174D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78174D#FFFFFF#000000##FFFFFF
##78174D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354E
Deuteranopia (green-blind)
#45464B
Tritanopia (blue-blind)
#820D30
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78174d;
/* rgb */ color: rgb(120, 23, 77);
/* oklch */ color: oklch(39.0% 0.140 351.9);
Tailwind
colors: {
  custom: {
    50: '#a3607e',
    500: '#78174d',
    950: '#000000',
  },
}
SCSS
$custom: #78174d;
$custom-light: #a3607e;
$custom-dark: #000000;
JSON
{
  "hex": "#78174d",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 326.598,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39042,
    "c": 0.14012,
    "h": 351.9
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#78174D
secondary
#3EAD6F
accent
#EB8A3D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #78174D

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

Preview Lab → · Contrast checker → · Palette generator →

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