#781D5C#781D5C

#781D5C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.142 H 343.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#781D5C
RGBrgb(120, 29, 92)
HSLhsl(318, 61%, 29%)
HSVhsv(318, 76%, 47%)
CMYKcmyk(0%, 75.8%, 23.3%, 52.9%)
CIE-LABlab(28.50, 45.15, -15.51)
CIE-LCHlch(28.50, 47.74, 341.04°)
OKLaboklab(40.24% 0.1359 -0.0415)
OKLCHoklch(40.24% 0.142 343)
XYZxyz(10.1172, 5.6455, 10.6800)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D5C #1D7839
analogous
#671D78 #781D5C #781D2E
triadic
#781D5C #5C781D #1D5C78
tetradic
#781D5C #78671D #1D7839 #1D2E78
square
#781D5C #78671D #1D7839 #1D2E78
split-complementary
#781D5C #2E781D #1D7867
monochromatic
#190613 #471136 #781D5C #A92982 #D13FA4

Accessibility & contrast

On white

9.86
#781D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D5C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D5C#FFFFFF#000000##FFFFFF
##781D5C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5E
Deuteranopia (green-blind)
#42495A
Tritanopia (blue-blind)
#801D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781d5c;
/* rgb */ color: rgb(120, 29, 92);
/* oklch */ color: oklch(40.2% 0.142 343.0);
Tailwind
colors: {
  custom: {
    50: '#a2628a',
    500: '#781d5c',
    950: '#000000',
  },
}
SCSS
$custom: #781d5c;
$custom-light: #a2628a;
$custom-dark: #000000;
JSON
{
  "hex": "#781d5c",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 318.462,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.14211,
    "h": 343
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#781D5C
secondary
#45AC65
accent
#E47544
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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