#781B5D#781B5D

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

Color values

HEX#781B5D
RGBrgb(120, 27, 93)
HSLhsl(317, 63%, 29%)
HSVhsv(317, 78%, 47%)
CMYKcmyk(0%, 77.5%, 22.5%, 52.9%)
CIE-LABlab(28.30, 46.00, -16.48)
CIE-LCHlch(28.30, 48.87, 340.29°)
OKLaboklab(40.11% 0.1383 -0.0442)
OKLCHoklch(40.11% 0.145 342.3)
XYZxyz(10.1138, 5.5683, 10.8960)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B5D #1B7836
analogous
#651B78 #781B5D #781B2F
triadic
#781B5D #5D781B #1B5D78
tetradic
#781B5D #78651B #1B7836 #1B2F78
square
#781B5D #78651B #1B7836 #1B2F78
split-complementary
#781B5D #2F781B #1B7865
monochromatic
#190613 #461036 #781B5D #AA2684 #D33BA7

Accessibility & contrast

On white

9.94
#781B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B5D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B5D#FFFFFF#000000##FFFFFF
##781B5D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#41485B
Tritanopia (blue-blind)
#801C3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b5d;
/* rgb */ color: rgb(120, 27, 93);
/* oklch */ color: oklch(40.1% 0.145 342.3);
Tailwind
colors: {
  custom: {
    50: '#a2628b',
    500: '#781b5d',
    950: '#000000',
  },
}
SCSS
$custom: #781b5d;
$custom-light: #a2628b;
$custom-dark: #000000;
JSON
{
  "hex": "#781b5d",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 317.419,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.14517,
    "h": 342.3
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#781B5D
secondary
#43AC61
accent
#E67141
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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