#781C5D#781C5D

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

Color values

HEX#781C5D
RGBrgb(120, 28, 93)
HSLhsl(318, 62%, 29%)
HSVhsv(318, 77%, 47%)
CMYKcmyk(0%, 76.7%, 22.5%, 52.9%)
CIE-LABlab(28.42, 45.65, -16.29)
CIE-LCHlch(28.42, 48.47, 340.36°)
OKLaboklab(40.2% 0.1372 -0.0437)
OKLCHoklch(40.2% 0.144 342.3)
XYZxyz(10.1371, 5.6149, 10.9037)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C5D #1C7837
analogous
#651C78 #781C5D #781C2F
triadic
#781C5D #5D781C #1C5D78
tetradic
#781C5D #78651C #1C7837 #1C2F78
square
#781C5D #78651C #1C7837 #1C2F78
split-complementary
#781C5D #2F781C #1C7865
monochromatic
#190613 #461037 #781C5D #AA2883 #D23DA6

Accessibility & contrast

On white

9.89
#781C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C5D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C5D#FFFFFF#000000##FFFFFF
##781C5D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#42485B
Tritanopia (blue-blind)
#801D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781c5d;
/* rgb */ color: rgb(120, 28, 93);
/* oklch */ color: oklch(40.2% 0.144 342.3);
Tailwind
colors: {
  custom: {
    50: '#a2628b',
    500: '#781c5d',
    950: '#000000',
  },
}
SCSS
$custom: #781c5d;
$custom-light: #a2628b;
$custom-dark: #000000;
JSON
{
  "hex": "#781c5d",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 317.609,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.402,
    "c": 0.14399,
    "h": 342.3
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#781C5D
secondary
#44AC62
accent
#E57243
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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