#781D5E#781D5E

#781D5E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.143 H 341.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#781D5E
RGBrgb(120, 29, 94)
HSLhsl(317, 61%, 29%)
HSVhsv(317, 76%, 47%)
CMYKcmyk(0%, 75.8%, 21.7%, 52.9%)
CIE-LABlab(28.59, 45.44, -16.68)
CIE-LCHlch(28.59, 48.40, 339.85°)
OKLaboklab(40.34% 0.1363 -0.0448)
OKLCHoklch(40.34% 0.143 341.8)
XYZxyz(10.2058, 5.6810, 11.1466)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D5E #1D7837
analogous
#651D78 #781D5E #781D31
triadic
#781D5E #5E781D #1D5E78
tetradic
#781D5E #78651D #1D7837 #1D3178
square
#781D5E #78651D #1D7837 #1D3178
split-complementary
#781D5E #31781D #1D7865
monochromatic
#190613 #471137 #781D5E #A92985 #D13FA7

Accessibility & contrast

On white

9.83
#781D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D5E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D5E#FFFFFF#000000##FFFFFF
##781D5E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#801E3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781d5e;
/* rgb */ color: rgb(120, 29, 94);
/* oklch */ color: oklch(40.3% 0.143 341.8);
Tailwind
colors: {
  custom: {
    50: '#a2638b',
    500: '#781d5e',
    950: '#000000',
  },
}
SCSS
$custom: #781d5e;
$custom-light: #a2638b;
$custom-dark: #000000;
JSON
{
  "hex": "#781d5e",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 317.143,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.14345,
    "h": 341.8
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#781D5E
secondary
#45AC62
accent
#E47144
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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