#781E52#781E52

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

Color values

HEX#781E52
RGBrgb(120, 30, 82)
HSLhsl(325, 60%, 29%)
HSVhsv(325, 75%, 47%)
CMYKcmyk(0%, 75%, 31.7%, 52.9%)
CIE-LABlab(28.20, 43.41, -9.39)
CIE-LCHlch(28.20, 44.42, 347.79°)
OKLaboklab(39.88% 0.1324 -0.0246)
OKLCHoklch(39.88% 0.135 349.5)
XYZxyz(9.7335, 5.5319, 8.5362)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E52 #1E7844
analogous
#711E78 #781E52 #781E25
triadic
#781E52 #52781E #1E5278
tetradic
#781E52 #78711E #1E7844 #1E2578
square
#781E52 #78711E #1E7844 #1E2578
split-complementary
#781E52 #25781E #1E7871
monochromatic
#180611 #471231 #781E52 #A92A73 #CF4193

Accessibility & contrast

On white

9.97
#781E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E52
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E52#FFFFFF#000000##FFFFFF
##781E521.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#811935
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e52;
/* rgb */ color: rgb(120, 30, 82);
/* oklch */ color: oklch(39.9% 0.135 349.5);
Tailwind
colors: {
  custom: {
    50: '#a36382',
    500: '#781e52',
    950: '#000000',
  },
}
SCSS
$custom: #781e52;
$custom-light: #a36382;
$custom-dark: #000000;
JSON
{
  "hex": "#781e52",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 325.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.13469,
    "h": 349.5
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#781E52
secondary
#46AC71
accent
#E38845
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781E52

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

Preview Lab → · Contrast checker → · Palette generator →

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