#781D51#781D51

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

Color values

HEX#781D51
RGBrgb(120, 29, 81)
HSLhsl(326, 61%, 29%)
HSVhsv(326, 76%, 47%)
CMYKcmyk(0%, 75.8%, 32.5%, 52.9%)
CIE-LABlab(28.03, 43.66, -8.99)
CIE-LCHlch(28.03, 44.57, 348.36°)
OKLaboklab(39.74% 0.1333 -0.0235)
OKLCHoklch(39.74% 0.135 350)
XYZxyz(9.6708, 5.4670, 8.3289)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D51 #1D7844
analogous
#721D78 #781D51 #781D24
triadic
#781D51 #51781D #1D5178
tetradic
#781D51 #78721D #1D7844 #1D2478
square
#781D51 #78721D #1D7844 #1D2478
split-complementary
#781D51 #24781D #1D7872
monochromatic
#190611 #471130 #781D51 #A92972 #D13F92

Accessibility & contrast

On white

10.03
#781D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D51
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D51#FFFFFF#000000##FFFFFF
##781D511.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3852
Deuteranopia (green-blind)
#46484F
Tritanopia (blue-blind)
#811834
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781d51;
/* rgb */ color: rgb(120, 29, 81);
/* oklch */ color: oklch(39.7% 0.135 350.0);
Tailwind
colors: {
  custom: {
    50: '#a36281',
    500: '#781d51',
    950: '#000000',
  },
}
SCSS
$custom: #781d51;
$custom-light: #a36281;
$custom-dark: #000000;
JSON
{
  "hex": "#781d51",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 325.714,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.13538,
    "h": 350
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#781D51
secondary
#45AC71
accent
#E48844
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781D51

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

Preview Lab → · Contrast checker → · Palette generator →

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