#78175C#78175C

#78175C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.149 H 342.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#78175C
RGBrgb(120, 23, 92)
HSLhsl(317, 68%, 28%)
HSVhsv(317, 81%, 47%)
CMYKcmyk(0%, 80.8%, 23.3%, 52.9%)
CIE-LABlab(27.79, 47.17, -16.61)
CIE-LCHlch(27.79, 50.01, 340.60°)
OKLaboklab(39.73% 0.1421 -0.0446)
OKLCHoklch(39.73% 0.149 342.6)
XYZxyz(9.9843, 5.3796, 10.6357)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78175C #177833
analogous
#631778 #78175C #78172B
triadic
#78175C #5C7817 #175C78
tetradic
#78175C #786317 #177833 #172B78
square
#78175C #786317 #177833 #172B78
split-complementary
#78175C #2B7817 #177863
monochromatic
#1A0514 #450D35 #78175C #AB2183 #D832A8

Accessibility & contrast

On white

10.12
#78175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78175C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78175C#FFFFFF#000000##FFFFFF
##78175C1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375E
Deuteranopia (green-blind)
#40475A
Tritanopia (blue-blind)
#801838
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78175c;
/* rgb */ color: rgb(120, 23, 92);
/* oklch */ color: oklch(39.7% 0.149 342.6);
Tailwind
colors: {
  custom: {
    50: '#a3608a',
    500: '#78175c',
    950: '#000000',
  },
}
SCSS
$custom: #78175c;
$custom-light: #a3608a;
$custom-dark: #000000;
JSON
{
  "hex": "#78175c",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 317.32,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39729,
    "c": 0.14892,
    "h": 342.6
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#78175C
secondary
#3EAD5E
accent
#EB6F3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #78175C

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

Preview Lab → · Contrast checker → · Palette generator →

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