#781B5C#781B5C

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

Color values

HEX#781B5C
RGBrgb(120, 27, 92)
HSLhsl(318, 63%, 29%)
HSVhsv(318, 78%, 47%)
CMYKcmyk(0%, 77.5%, 23.3%, 52.9%)
CIE-LABlab(28.25, 45.86, -15.90)
CIE-LCHlch(28.25, 48.54, 340.88°)
OKLaboklab(40.06% 0.1381 -0.0426)
OKLCHoklch(40.06% 0.145 342.9)
XYZxyz(10.0698, 5.5507, 10.6642)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B5C #1B7837
analogous
#661B78 #781B5C #781B2E
triadic
#781B5C #5C781B #1B5C78
tetradic
#781B5C #78661B #1B7837 #1B2E78
square
#781B5C #78661B #1B7837 #1B2E78
split-complementary
#781B5C #2E781B #1B7866
monochromatic
#190613 #461036 #781B5C #AA2682 #D33BA5

Accessibility & contrast

On white

9.95
#781B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B5C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B5C#FFFFFF#000000##FFFFFF
##781B5C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#42485A
Tritanopia (blue-blind)
#801B39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b5c;
/* rgb */ color: rgb(120, 27, 92);
/* oklch */ color: oklch(40.1% 0.145 342.9);
Tailwind
colors: {
  custom: {
    50: '#a2628a',
    500: '#781b5c',
    950: '#000000',
  },
}
SCSS
$custom: #781b5c;
$custom-light: #a2628a;
$custom-dark: #000000;
JSON
{
  "hex": "#781b5c",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 318.065,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.14451,
    "h": 342.9
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#781B5C
secondary
#43AC62
accent
#E67341
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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