#781F5A#781F5A

#781F5A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.138 H 344.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#781F5A
RGBrgb(120, 31, 90)
HSLhsl(320, 59%, 30%)
HSVhsv(320, 74%, 47%)
CMYKcmyk(0%, 74.2%, 25%, 52.9%)
CIE-LABlab(28.67, 44.12, -13.93)
CIE-LCHlch(28.67, 46.27, 342.47°)
OKLaboklab(40.34% 0.1332 -0.0371)
OKLCHoklch(40.34% 0.138 344.4)
XYZxyz(10.0816, 5.7123, 10.2425)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F5A #1F783D
analogous
#6A1F78 #781F5A #781F2E
triadic
#781F5A #5A781F #1F5A78
tetradic
#781F5A #786A1F #1F783D #1F2E78
square
#781F5A #786A1F #1F783D #1F2E78
split-complementary
#781F5A #2E781F #1F786A
monochromatic
#180612 #471236 #781F5A #A92C7E #CE439F

Accessibility & contrast

On white

9.80
#781F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F5A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F5A#FFFFFF#000000##FFFFFF
##781F5A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#801E39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f5a;
/* rgb */ color: rgb(120, 31, 90);
/* oklch */ color: oklch(40.3% 0.138 344.4);
Tailwind
colors: {
  custom: {
    50: '#a26388',
    500: '#781f5a',
    950: '#000000',
  },
}
SCSS
$custom: #781f5a;
$custom-light: #a26388;
$custom-dark: #000000;
JSON
{
  "hex": "#781f5a",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 320.225,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.13829,
    "h": 344.4
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#781F5A
secondary
#47AB69
accent
#E27A46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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