#781F5B#781F5B

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

Color values

HEX#781F5B
RGBrgb(120, 31, 91)
HSLhsl(320, 59%, 30%)
HSVhsv(320, 74%, 47%)
CMYKcmyk(0%, 74.2%, 24.2%, 52.9%)
CIE-LABlab(28.72, 44.26, -14.52)
CIE-LCHlch(28.72, 46.58, 341.84°)
OKLaboklab(40.39% 0.1334 -0.0388)
OKLCHoklch(40.39% 0.139 343.8)
XYZxyz(10.1244, 5.7294, 10.4682)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F5B #1F783C
analogous
#691F78 #781F5B #781F2E
triadic
#781F5B #5B781F #1F5B78
tetradic
#781F5B #78691F #1F783C #1F2E78
square
#781F5B #78691F #1F783C #1F2E78
split-complementary
#781F5B #2E781F #1F7869
monochromatic
#180612 #471236 #781F5B #A92C80 #CE43A1

Accessibility & contrast

On white

9.79
#781F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F5B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F5B#FFFFFF#000000##FFFFFF
##781F5B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#801F3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f5b;
/* rgb */ color: rgb(120, 31, 91);
/* oklch */ color: oklch(40.4% 0.139 343.8);
Tailwind
colors: {
  custom: {
    50: '#a26389',
    500: '#781f5b',
    950: '#000000',
  },
}
SCSS
$custom: #781f5b;
$custom-light: #a26389;
$custom-dark: #000000;
JSON
{
  "hex": "#781f5b",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 319.551,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.13894,
    "h": 343.8
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#781F5B
secondary
#47AB68
accent
#E27946
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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