#78174F#78174F

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

Color values

HEX#78174F
RGBrgb(120, 23, 79)
HSLhsl(325, 68%, 28%)
HSVhsv(325, 81%, 47%)
CMYKcmyk(0%, 80.8%, 34.2%, 52.9%)
CIE-LABlab(27.22, 45.46, -8.89)
CIE-LCHlch(27.22, 46.32, 348.94°)
OKLaboklab(39.13% 0.1393 -0.0231)
OKLCHoklch(39.13% 0.141 350.6)
XYZxyz(9.4640, 5.1715, 7.8954)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78174F #177840
analogous
#701778 #78174F #78171E
triadic
#78174F #4F7817 #174F78
tetradic
#78174F #787017 #177840 #171E78
square
#78174F #787017 #177840 #171E78
split-complementary
#78174F #1E7817 #177870
monochromatic
#1A0511 #450D2D #78174F #AB2171 #D83292

Accessibility & contrast

On white

10.32
#78174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78174F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78174F#FFFFFF#000000##FFFFFF
##78174F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#44464D
Tritanopia (blue-blind)
#810F31
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78174f;
/* rgb */ color: rgb(120, 23, 79);
/* oklch */ color: oklch(39.1% 0.141 350.6);
Tailwind
colors: {
  custom: {
    50: '#a36080',
    500: '#78174f',
    950: '#000000',
  },
}
SCSS
$custom: #78174f;
$custom-light: #a36080;
$custom-dark: #000000;
JSON
{
  "hex": "#78174f",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 325.361,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39127,
    "c": 0.14117,
    "h": 350.6
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#78174F
secondary
#3EAD6D
accent
#EB863D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #78174F

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

Preview Lab → · Contrast checker → · Palette generator →

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