#781B5B#781B5B

#781B5B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.144 H 343.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#781B5B
RGBrgb(120, 27, 91)
HSLhsl(319, 63%, 29%)
HSVhsv(319, 78%, 47%)
CMYKcmyk(0%, 77.5%, 24.2%, 52.9%)
CIE-LABlab(28.20, 45.72, -15.31)
CIE-LCHlch(28.20, 48.22, 341.48°)
OKLaboklab(40.01% 0.1379 -0.0409)
OKLCHoklch(40.01% 0.144 343.5)
XYZxyz(10.0264, 5.5333, 10.4355)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B5B #1B7838
analogous
#671B78 #781B5B #781B2D
triadic
#781B5B #5B781B #1B5B78
tetradic
#781B5B #78671B #1B7838 #1B2D78
square
#781B5B #78671B #1B7838 #1B2D78
split-complementary
#781B5B #2D781B #1B7867
monochromatic
#190613 #461035 #781B5B #AA2681 #D33BA3

Accessibility & contrast

On white

9.97
#781B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B5B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B5B#FFFFFF#000000##FFFFFF
##781B5B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395D
Deuteranopia (green-blind)
#424859
Tritanopia (blue-blind)
#801B39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b5b;
/* rgb */ color: rgb(120, 27, 91);
/* oklch */ color: oklch(40.0% 0.144 343.5);
Tailwind
colors: {
  custom: {
    50: '#a26289',
    500: '#781b5b',
    950: '#000000',
  },
}
SCSS
$custom: #781b5b;
$custom-light: #a26289;
$custom-dark: #000000;
JSON
{
  "hex": "#781b5b",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 318.71,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.14385,
    "h": 343.5
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#781B5B
secondary
#43AC64
accent
#E67541
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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