#78255D#78255D

#78255D is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.132 H 343.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#78255D
RGBrgb(120, 37, 93)
HSLhsl(320, 53%, 31%)
HSVhsv(320, 69%, 47%)
CMYKcmyk(0%, 69.2%, 22.5%, 52.9%)
CIE-LABlab(29.68, 42.12, -14.35)
CIE-LCHlch(29.68, 44.49, 341.19°)
OKLaboklab(41.12% 0.1264 -0.0383)
OKLCHoklch(41.12% 0.132 343.1)
XYZxyz(10.3834, 6.1075, 10.9858)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78255D #257840
analogous
#692578 #78255D #782533
triadic
#78255D #5D7825 #255D78
tetradic
#78255D #786925 #257840 #253378
square
#78255D #786925 #257840 #253378
split-complementary
#78255D #337825 #257869
monochromatic
#1A0814 #491739 #78255D #A73381 #C94FA1

Accessibility & contrast

On white

9.45
#78255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#78255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78255D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78255D#FFFFFF#000000##FFFFFF
##78255D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#80253D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78255d;
/* rgb */ color: rgb(120, 37, 93);
/* oklch */ color: oklch(41.1% 0.132 343.1);
Tailwind
colors: {
  custom: {
    50: '#a2668b',
    500: '#78255d',
    950: '#000000',
  },
}
SCSS
$custom: #78255d;
$custom-light: #a2668b;
$custom-dark: #000000;
JSON
{
  "hex": "#78255d",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 319.518,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.13207,
    "h": 343.1
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#78255D
secondary
#4EAA6C
accent
#DC7B4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #78255D

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

Preview Lab → · Contrast checker → · Palette generator →

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