#78185F#78185F

#78185F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.150 H 340.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#78185F
RGBrgb(120, 24, 95)
HSLhsl(316, 67%, 28%)
HSVhsv(316, 80%, 47%)
CMYKcmyk(0%, 80%, 20.8%, 52.9%)
CIE-LABlab(28.04, 47.28, -18.18)
CIE-LCHlch(28.04, 50.66, 338.97°)
OKLaboklab(39.96% 0.1416 -0.049)
OKLCHoklch(39.96% 0.15 340.9)
XYZxyz(10.1382, 5.4736, 11.3468)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78185F #187831
analogous
#611878 #78185F #78182F
triadic
#78185F #5F7818 #185F78
tetradic
#78185F #786118 #187831 #182F78
square
#78185F #786118 #187831 #182F78
split-complementary
#78185F #2F7818 #187861
monochromatic
#1A0514 #450E37 #78185F #AB2287 #D634AC

Accessibility & contrast

On white

10.03
#78185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78185F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78185F#FFFFFF#000000##FFFFFF
##78185F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#40485D
Tritanopia (blue-blind)
#801B3A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78185f;
/* rgb */ color: rgb(120, 24, 95);
/* oklch */ color: oklch(40.0% 0.150 340.9);
Tailwind
colors: {
  custom: {
    50: '#a2618c',
    500: '#78185f',
    950: '#000000',
  },
}
SCSS
$custom: #78185f;
$custom-light: #a2618c;
$custom-dark: #000000;
JSON
{
  "hex": "#78185f",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 315.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.14987,
    "h": 340.9
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#78185F
secondary
#3FAD5C
accent
#EA6B3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #78185F

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

Preview Lab → · Contrast checker → · Palette generator →

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