#78255F#78255F

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

Color values

HEX#78255F
RGBrgb(120, 37, 95)
HSLhsl(318, 53%, 31%)
HSVhsv(318, 69%, 47%)
CMYKcmyk(0%, 69.2%, 20.8%, 52.9%)
CIE-LABlab(29.77, 42.42, -15.51)
CIE-LCHlch(29.77, 45.16, 339.92°)
OKLaboklab(41.22% 0.1268 -0.0416)
OKLCHoklch(41.22% 0.133 341.8)
XYZxyz(10.4732, 6.1434, 11.4585)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78255F #25783E
analogous
#672578 #78255F #782535
triadic
#78255F #5F7825 #255F78
tetradic
#78255F #786725 #25783E #253578
square
#78255F #786725 #25783E #253578
split-complementary
#78255F #357825 #257867
monochromatic
#1A0815 #49173A #78255F #A73384 #C94FA4

Accessibility & contrast

On white

9.42
#78255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#78255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78255F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78255F#FFFFFF#000000##FFFFFF
##78255F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#7F263E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78255f;
/* rgb */ color: rgb(120, 37, 95);
/* oklch */ color: oklch(41.2% 0.133 341.8);
Tailwind
colors: {
  custom: {
    50: '#a2668c',
    500: '#78255f',
    950: '#000000',
  },
}
SCSS
$custom: #78255f;
$custom-light: #a2668c;
$custom-dark: #000000;
JSON
{
  "hex": "#78255f",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 318.072,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.13347,
    "h": 341.8
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#78255F
secondary
#4EAA6A
accent
#DC774C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #78255F

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

Preview Lab → · Contrast checker → · Palette generator →

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