#781F57#781F57

#781F57 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 346.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#781F57
RGBrgb(120, 31, 87)
HSLhsl(322, 59%, 30%)
HSVhsv(322, 74%, 47%)
CMYKcmyk(0%, 74.2%, 27.5%, 52.9%)
CIE-LABlab(28.54, 43.70, -12.17)
CIE-LCHlch(28.54, 45.36, 344.44°)
OKLaboklab(40.2% 0.1325 -0.0322)
OKLCHoklch(40.2% 0.136 346.3)
XYZxyz(9.9564, 5.6622, 9.5836)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F57 #1F7840
analogous
#6D1F78 #781F57 #781F2B
triadic
#781F57 #57781F #1F5778
tetradic
#781F57 #786D1F #1F7840 #1F2B78
square
#781F57 #786D1F #1F7840 #1F2B78
split-complementary
#781F57 #2B781F #1F786D
monochromatic
#180612 #471234 #781F57 #A92C7A #CE439B

Accessibility & contrast

On white

9.85
#781F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F57
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F57#FFFFFF#000000##FFFFFF
##781F571.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A59
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#811D38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f57;
/* rgb */ color: rgb(120, 31, 87);
/* oklch */ color: oklch(40.2% 0.136 346.3);
Tailwind
colors: {
  custom: {
    50: '#a26386',
    500: '#781f57',
    950: '#000000',
  },
}
SCSS
$custom: #781f57;
$custom-light: #a26386;
$custom-dark: #000000;
JSON
{
  "hex": "#781f57",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 322.247,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.13638,
    "h": 346.3
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#781F57
secondary
#47AB6C
accent
#E28046
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F57

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

Preview Lab → · Contrast checker → · Palette generator →

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