#78174A#78174A

#78174A is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.139 H 353.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#78174A
RGBrgb(120, 23, 74)
HSLhsl(328, 68%, 28%)
HSVhsv(328, 81%, 47%)
CMYKcmyk(0%, 80.8%, 38.3%, 52.9%)
CIE-LABlab(27.02, 44.87, -5.84)
CIE-LCHlch(27.02, 45.25, 352.58°)
OKLaboklab(38.92% 0.1378 -0.0149)
OKLCHoklch(38.92% 0.139 353.8)
XYZxyz(9.2888, 5.1014, 6.9728)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78174A #177845
analogous
#751778 #78174A #781719
triadic
#78174A #4A7817 #174A78
tetradic
#78174A #787517 #177845 #171978
square
#78174A #787517 #177845 #171978
split-complementary
#78174A #197817 #177875
monochromatic
#1A0510 #450D2A #78174A #AB216A #D83289

Accessibility & contrast

On white

10.40
#78174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#78174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78174A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78174A#FFFFFF#000000##FFFFFF
##78174A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354B
Deuteranopia (green-blind)
#464648
Tritanopia (blue-blind)
#820B2E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78174a;
/* rgb */ color: rgb(120, 23, 74);
/* oklch */ color: oklch(38.9% 0.139 353.8);
Tailwind
colors: {
  custom: {
    50: '#a35f7c',
    500: '#78174a',
    950: '#000000',
  },
}
SCSS
$custom: #78174a;
$custom-light: #a35f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#78174a",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 328.454,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.13864,
    "h": 353.8
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#78174A
secondary
#3EAD73
accent
#EB8F3D
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #78174A

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

Preview Lab → · Contrast checker → · Palette generator →

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