#78185C#78185C

#78185C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.148 H 342.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#78185C
RGBrgb(120, 24, 92)
HSLhsl(318, 67%, 28%)
HSVhsv(318, 80%, 47%)
CMYKcmyk(0%, 80%, 23.3%, 52.9%)
CIE-LABlab(27.90, 46.86, -16.44)
CIE-LCHlch(27.90, 49.66, 340.67°)
OKLaboklab(39.81% 0.1411 -0.0441)
OKLCHoklch(39.81% 0.148 342.7)
XYZxyz(10.0045, 5.4201, 10.6425)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78185C #187834
analogous
#641878 #78185C #78182C
triadic
#78185C #5C7818 #185C78
tetradic
#78185C #786418 #187834 #182C78
square
#78185C #786418 #187834 #182C78
split-complementary
#78185C #2C7818 #187864
monochromatic
#1A0514 #450E35 #78185C #AB2283 #D634A7

Accessibility & contrast

On white

10.08
#78185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78185C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78185C#FFFFFF#000000##FFFFFF
##78185C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#41475A
Tritanopia (blue-blind)
#801938
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78185c;
/* rgb */ color: rgb(120, 24, 92);
/* oklch */ color: oklch(39.8% 0.148 342.7);
Tailwind
colors: {
  custom: {
    50: '#a3608a',
    500: '#78185c',
    950: '#000000',
  },
}
SCSS
$custom: #78185c;
$custom-light: #a3608a;
$custom-dark: #000000;
JSON
{
  "hex": "#78185c",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 317.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.14787,
    "h": 342.7
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#78185C
secondary
#3FAD5F
accent
#EA703E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #78185C

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

Preview Lab → · Contrast checker → · Palette generator →

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