#78256A#78256A

#78256A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 335.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#78256A
RGBrgb(120, 37, 106)
HSLhsl(310, 53%, 31%)
HSVhsv(310, 69%, 47%)
CMYKcmyk(0%, 69.2%, 11.7%, 52.9%)
CIE-LABlab(30.30, 44.17, -21.79)
CIE-LCHlch(30.30, 49.25, 333.74°)
OKLaboklab(41.77% 0.1287 -0.0594)
OKLCHoklch(41.77% 0.142 335.2)
XYZxyz(11.0089, 6.3577, 14.2802)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78256A #257833
analogous
#5C2578 #78256A #782541
triadic
#78256A #6A7825 #256A78
tetradic
#78256A #785C25 #257833 #254178
square
#78256A #785C25 #257833 #254178
split-complementary
#78256A #417825 #25785C
monochromatic
#1A0817 #491741 #78256A #A73393 #C94FB4

Accessibility & contrast

On white

9.25
#78256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#78256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78256A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78256A#FFFFFF#000000##FFFFFF
##78256A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#404C68
Tritanopia (blue-blind)
#7E2B44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78256a;
/* rgb */ color: rgb(120, 37, 106);
/* oklch */ color: oklch(41.8% 0.142 335.2);
Tailwind
colors: {
  custom: {
    50: '#a26795',
    500: '#78256a',
    950: '#000000',
  },
}
SCSS
$custom: #78256a;
$custom-light: #a26795;
$custom-dark: #000000;
JSON
{
  "hex": "#78256a",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 310.12,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.14176,
    "h": 335.2
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#78256A
secondary
#4EAA5E
accent
#DC644C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78256A

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

Preview Lab → · Contrast checker → · Palette generator →

#78256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva