#78175A#78175A

#78175A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.148 H 343.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#78175A
RGBrgb(120, 23, 90)
HSLhsl(319, 68%, 28%)
HSVhsv(319, 81%, 47%)
CMYKcmyk(0%, 80.8%, 25%, 52.9%)
CIE-LABlab(27.70, 46.89, -15.44)
CIE-LCHlch(27.70, 49.37, 341.78°)
OKLaboklab(39.63% 0.1417 -0.0413)
OKLCHoklch(39.63% 0.148 343.8)
XYZxyz(9.8980, 5.3451, 10.1813)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78175A #177835
analogous
#651778 #78175A #781729
triadic
#78175A #5A7817 #175A78
tetradic
#78175A #786517 #177835 #172978
square
#78175A #786517 #177835 #172978
split-complementary
#78175A #297817 #177865
monochromatic
#1A0513 #450D33 #78175A #AB2181 #D832A4

Accessibility & contrast

On white

10.15
#78175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#78175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78175A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78175A#FFFFFF#000000##FFFFFF
##78175A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#414758
Tritanopia (blue-blind)
#801737
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78175a;
/* rgb */ color: rgb(120, 23, 90);
/* oklch */ color: oklch(39.6% 0.148 343.8);
Tailwind
colors: {
  custom: {
    50: '#a36088',
    500: '#78175a',
    950: '#000000',
  },
}
SCSS
$custom: #78175a;
$custom-light: #a36088;
$custom-dark: #000000;
JSON
{
  "hex": "#78175a",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 318.557,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.14764,
    "h": 343.8
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#78175A
secondary
#3EAD60
accent
#EB733D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #78175A

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

Preview Lab → · Contrast checker → · Palette generator →

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