#78175E#78175E

#78175E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.150 H 341.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#78175E
RGBrgb(120, 23, 94)
HSLhsl(316, 68%, 28%)
HSVhsv(316, 81%, 47%)
CMYKcmyk(0%, 80.8%, 21.7%, 52.9%)
CIE-LABlab(27.89, 47.45, -17.77)
CIE-LCHlch(27.89, 50.67, 339.47°)
OKLaboklab(39.83% 0.1424 -0.0478)
OKLCHoklch(39.83% 0.15 341.4)
XYZxyz(10.0728, 5.4151, 11.1022)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78175E #177831
analogous
#611778 #78175E #78172E
triadic
#78175E #5E7817 #175E78
tetradic
#78175E #786117 #177831 #172E78
square
#78175E #786117 #177831 #172E78
split-complementary
#78175E #2E7817 #177861
monochromatic
#1A0514 #450D36 #78175E #AB2186 #D832AB

Accessibility & contrast

On white

10.08
#78175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#78175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78175E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78175E#FFFFFF#000000##FFFFFF
##78175E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203860
Deuteranopia (green-blind)
#40475C
Tritanopia (blue-blind)
#801939
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78175e;
/* rgb */ color: rgb(120, 23, 94);
/* oklch */ color: oklch(39.8% 0.150 341.4);
Tailwind
colors: {
  custom: {
    50: '#a3608c',
    500: '#78175e',
    950: '#000000',
  },
}
SCSS
$custom: #78175e;
$custom-light: #a3608c;
$custom-dark: #000000;
JSON
{
  "hex": "#78175e",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 316.082,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.15025,
    "h": 341.4
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#78175E
secondary
#3EAD5C
accent
#EB6C3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #78175E

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

Preview Lab → · Contrast checker → · Palette generator →

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