#781D5F#781D5F

#781D5F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.144 H 341.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#781D5F
RGBrgb(120, 29, 95)
HSLhsl(316, 61%, 29%)
HSVhsv(316, 76%, 47%)
CMYKcmyk(0%, 75.8%, 20.8%, 52.9%)
CIE-LABlab(28.64, 45.59, -17.26)
CIE-LCHlch(28.64, 48.74, 339.27°)
OKLaboklab(40.39% 0.1365 -0.0464)
OKLCHoklch(40.39% 0.144 341.2)
XYZxyz(10.2510, 5.6990, 11.3844)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D5F #1D7836
analogous
#641D78 #781D5F #781D31
triadic
#781D5F #5F781D #1D5F78
tetradic
#781D5F #78641D #1D7836 #1D3178
square
#781D5F #78641D #1D7836 #1D3178
split-complementary
#781D5F #31781D #1D7864
monochromatic
#190614 #471138 #781D5F #A92986 #D13FA9

Accessibility & contrast

On white

9.81
#781D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D5F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D5F#FFFFFF#000000##FFFFFF
##781D5F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#41495D
Tritanopia (blue-blind)
#801F3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781d5f;
/* rgb */ color: rgb(120, 29, 95);
/* oklch */ color: oklch(40.4% 0.144 341.2);
Tailwind
colors: {
  custom: {
    50: '#a2638c',
    500: '#781d5f',
    950: '#000000',
  },
}
SCSS
$custom: #781d5f;
$custom-light: #a2638c;
$custom-dark: #000000;
JSON
{
  "hex": "#781d5f",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 316.484,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.14414,
    "h": 341.2
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#781D5F
secondary
#45AC61
accent
#E47044
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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