#78255E#78255E

#78255E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.133 H 342.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#78255E
RGBrgb(120, 37, 94)
HSLhsl(319, 53%, 31%)
HSVhsv(319, 69%, 47%)
CMYKcmyk(0%, 69.2%, 21.7%, 52.9%)
CIE-LABlab(29.73, 42.27, -14.93)
CIE-LCHlch(29.73, 44.82, 340.55°)
OKLaboklab(41.17% 0.1266 -0.0399)
OKLCHoklch(41.17% 0.133 342.5)
XYZxyz(10.4280, 6.1254, 11.2206)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78255E #25783F
analogous
#682578 #78255E #782534
triadic
#78255E #5E7825 #255E78
tetradic
#78255E #786825 #25783F #253478
square
#78255E #786825 #25783F #253478
split-complementary
#78255E #347825 #257868
monochromatic
#1A0815 #491739 #78255E #A73383 #C94FA2

Accessibility & contrast

On white

9.44
#78255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78255E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78255E#FFFFFF#000000##FFFFFF
##78255E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#80263E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78255e;
/* rgb */ color: rgb(120, 37, 94);
/* oklch */ color: oklch(41.2% 0.133 342.5);
Tailwind
colors: {
  custom: {
    50: '#a2668b',
    500: '#78255e',
    950: '#000000',
  },
}
SCSS
$custom: #78255e;
$custom-light: #a2668b;
$custom-dark: #000000;
JSON
{
  "hex": "#78255e",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 318.795,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.13276,
    "h": 342.5
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#78255E
secondary
#4EAA6B
accent
#DC794C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #78255E

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

Preview Lab → · Contrast checker → · Palette generator →

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