#781F59#781F59

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

Color values

HEX#781F59
RGBrgb(120, 31, 89)
HSLhsl(321, 59%, 30%)
HSVhsv(321, 74%, 47%)
CMYKcmyk(0%, 74.2%, 25.8%, 52.9%)
CIE-LABlab(28.63, 43.98, -13.35)
CIE-LCHlch(28.63, 45.96, 343.12°)
OKLaboklab(40.29% 0.133 -0.0355)
OKLCHoklch(40.29% 0.138 345.1)
XYZxyz(10.0393, 5.6954, 10.0199)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F59 #1F783E
analogous
#6B1F78 #781F59 #781F2D
triadic
#781F59 #59781F #1F5978
tetradic
#781F59 #786B1F #1F783E #1F2D78
square
#781F59 #786B1F #1F783E #1F2D78
split-complementary
#781F59 #2D781F #1F786B
monochromatic
#180612 #471235 #781F59 #A92C7D #CE439E

Accessibility & contrast

On white

9.82
#781F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F59
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F59#FFFFFF#000000##FFFFFF
##781F591.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5B
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#801E39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f59;
/* rgb */ color: rgb(120, 31, 89);
/* oklch */ color: oklch(40.3% 0.138 345.1);
Tailwind
colors: {
  custom: {
    50: '#a26388',
    500: '#781f59',
    950: '#000000',
  },
}
SCSS
$custom: #781f59;
$custom-light: #a26388;
$custom-dark: #000000;
JSON
{
  "hex": "#781f59",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 320.899,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40294,
    "c": 0.13763,
    "h": 345.1
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#781F59
secondary
#47AB6A
accent
#E27C46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F59

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

Preview Lab → · Contrast checker → · Palette generator →

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