#78175B#78175B

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

Color values

HEX#78175B
RGBrgb(120, 23, 91)
HSLhsl(318, 68%, 28%)
HSVhsv(318, 81%, 47%)
CMYKcmyk(0%, 80.8%, 24.2%, 52.9%)
CIE-LABlab(27.74, 47.03, -16.02)
CIE-LCHlch(27.74, 49.68, 341.18°)
OKLaboklab(39.68% 0.1419 -0.0429)
OKLCHoklch(39.68% 0.148 343.2)
XYZxyz(9.9408, 5.3623, 10.4070)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78175B #177834
analogous
#641778 #78175B #78172A
triadic
#78175B #5B7817 #175B78
tetradic
#78175B #786417 #177834 #172A78
square
#78175B #786417 #177834 #172A78
split-complementary
#78175B #2A7817 #177864
monochromatic
#1A0513 #450D34 #78175B #AB2182 #D832A6

Accessibility & contrast

On white

10.13
#78175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78175B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78175B#FFFFFF#000000##FFFFFF
##78175B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#414759
Tritanopia (blue-blind)
#801737
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78175b;
/* rgb */ color: rgb(120, 23, 91);
/* oklch */ color: oklch(39.7% 0.148 343.2);
Tailwind
colors: {
  custom: {
    50: '#a36089',
    500: '#78175b',
    950: '#000000',
  },
}
SCSS
$custom: #78175b;
$custom-light: #a36089;
$custom-dark: #000000;
JSON
{
  "hex": "#78175b",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 317.938,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.14828,
    "h": 343.2
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#78175B
secondary
#3EAD5F
accent
#EB713D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #78175B

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

Preview Lab → · Contrast checker → · Palette generator →

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