#78175F#78175F

#78175F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.151 H 340.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#78175F
RGBrgb(120, 23, 95)
HSLhsl(315, 68%, 28%)
HSVhsv(315, 81%, 47%)
CMYKcmyk(0%, 80.8%, 20.8%, 52.9%)
CIE-LABlab(27.93, 47.59, -18.35)
CIE-LCHlch(27.93, 51.01, 338.92°)
OKLaboklab(39.88% 0.1426 -0.0495)
OKLCHoklch(39.88% 0.151 340.9)
XYZxyz(10.1180, 5.4331, 11.3401)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78175F #177830
analogous
#601778 #78175F #78172E
triadic
#78175F #5F7817 #175F78
tetradic
#78175F #786017 #177830 #172E78
square
#78175F #786017 #177830 #172E78
split-complementary
#78175F #2E7817 #177860
monochromatic
#1A0514 #450D36 #78175F #AB2188 #D832AD

Accessibility & contrast

On white

10.07
#78175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#78175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78175F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78175F#FFFFFF#000000##FFFFFF
##78175F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#801A39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78175f;
/* rgb */ color: rgb(120, 23, 95);
/* oklch */ color: oklch(39.9% 0.151 340.9);
Tailwind
colors: {
  custom: {
    50: '#a3608c',
    500: '#78175f',
    950: '#000000',
  },
}
SCSS
$custom: #78175f;
$custom-light: #a3608c;
$custom-dark: #000000;
JSON
{
  "hex": "#78175f",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 315.464,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.15092,
    "h": 340.9
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#78175F
secondary
#3EAD5A
accent
#EB6A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #78175F

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

Preview Lab → · Contrast checker → · Palette generator →

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