#78175D#78175D

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

Color values

HEX#78175D
RGBrgb(120, 23, 93)
HSLhsl(317, 68%, 28%)
HSVhsv(317, 81%, 47%)
CMYKcmyk(0%, 80.8%, 22.5%, 52.9%)
CIE-LABlab(27.84, 47.31, -17.19)
CIE-LCHlch(27.84, 50.34, 340.03°)
OKLaboklab(39.78% 0.1423 -0.0462)
OKLCHoklch(39.78% 0.15 342)
XYZxyz(10.0283, 5.3972, 10.8674)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78175D #177832
analogous
#621778 #78175D #78172C
triadic
#78175D #5D7817 #175D78
tetradic
#78175D #786217 #177832 #172C78
square
#78175D #786217 #177832 #172C78
split-complementary
#78175D #2C7817 #177862
monochromatic
#1A0514 #450D35 #78175D #AB2185 #D832A9

Accessibility & contrast

On white

10.10
#78175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78175D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78175D#FFFFFF#000000##FFFFFF
##78175D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21385F
Deuteranopia (green-blind)
#40475B
Tritanopia (blue-blind)
#801838
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78175d;
/* rgb */ color: rgb(120, 23, 93);
/* oklch */ color: oklch(39.8% 0.150 342.0);
Tailwind
colors: {
  custom: {
    50: '#a3608b',
    500: '#78175d',
    950: '#000000',
  },
}
SCSS
$custom: #78175d;
$custom-light: #a3608b;
$custom-dark: #000000;
JSON
{
  "hex": "#78175d",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 316.701,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.14958,
    "h": 342
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#78175D
secondary
#3EAD5D
accent
#EB6D3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #78175D

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

Preview Lab → · Contrast checker → · Palette generator →

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