#78255C#78255C

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

Color values

HEX#78255C
RGBrgb(120, 37, 92)
HSLhsl(320, 53%, 31%)
HSVhsv(320, 69%, 47%)
CMYKcmyk(0%, 69.2%, 23.3%, 52.9%)
CIE-LABlab(29.64, 41.97, -13.76)
CIE-LCHlch(29.64, 44.17, 341.84°)
OKLaboklab(41.07% 0.1262 -0.0367)
OKLCHoklch(41.07% 0.131 343.8)
XYZxyz(10.3394, 6.0899, 10.7541)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78255C #257841
analogous
#6A2578 #78255C #782532
triadic
#78255C #5C7825 #255C78
tetradic
#78255C #786A25 #257841 #253278
square
#78255C #786A25 #257841 #253278
split-complementary
#78255C #327825 #25786A
monochromatic
#1A0814 #491738 #78255C #A73380 #C94FA0

Accessibility & contrast

On white

9.47
#78255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78255C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78255C#FFFFFF#000000##FFFFFF
##78255C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#80253D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78255c;
/* rgb */ color: rgb(120, 37, 92);
/* oklch */ color: oklch(41.1% 0.131 343.8);
Tailwind
colors: {
  custom: {
    50: '#a2668a',
    500: '#78255c',
    950: '#000000',
  },
}
SCSS
$custom: #78255c;
$custom-light: #a2668a;
$custom-dark: #000000;
JSON
{
  "hex": "#78255c",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 320.241,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.1314,
    "h": 343.8
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#78255C
secondary
#4EAA6D
accent
#DC7C4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #78255C

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

Preview Lab → · Contrast checker → · Palette generator →

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