#781A5B#781A5B

#781A5B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.145 H 343.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#781A5B
RGBrgb(120, 26, 91)
HSLhsl(319, 64%, 29%)
HSVhsv(319, 78%, 47%)
CMYKcmyk(0%, 78.3%, 24.2%, 52.9%)
CIE-LABlab(28.08, 46.06, -15.50)
CIE-LCHlch(28.08, 48.60, 341.40°)
OKLaboklab(39.93% 0.139 -0.0415)
OKLCHoklch(39.93% 0.145 343.4)
XYZxyz(10.0038, 5.4882, 10.4280)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A5B #1A7837
analogous
#661A78 #781A5B #781A2C
triadic
#781A5B #5B781A #1A5B78
tetradic
#781A5B #78661A #1A7837 #1A2C78
square
#781A5B #78661A #1A7837 #1A2C78
split-complementary
#781A5B #2C781A #1A7866
monochromatic
#190513 #460F35 #781A5B #AA2581 #D438A4

Accessibility & contrast

On white

10.01
#781A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A5B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A5B#FFFFFF#000000##FFFFFF
##781A5B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#424859
Tritanopia (blue-blind)
#801A38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a5b;
/* rgb */ color: rgb(120, 26, 91);
/* oklch */ color: oklch(39.9% 0.145 343.4);
Tailwind
colors: {
  custom: {
    50: '#a26189',
    500: '#781a5b',
    950: '#000000',
  },
}
SCSS
$custom: #781a5b;
$custom-light: #a26189;
$custom-dark: #000000;
JSON
{
  "hex": "#781a5b",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 318.511,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.145,
    "h": 343.4
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#781A5B
secondary
#41AC62
accent
#E77440
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781A5B

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

Preview Lab → · Contrast checker → · Palette generator →

#781A5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva