#781F56#781F56

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

Color values

HEX#781F56
RGBrgb(120, 31, 86)
HSLhsl(323, 59%, 30%)
HSVhsv(323, 74%, 47%)
CMYKcmyk(0%, 74.2%, 28.3%, 52.9%)
CIE-LABlab(28.50, 43.56, -11.57)
CIE-LCHlch(28.50, 45.07, 345.12°)
OKLaboklab(40.16% 0.1323 -0.0306)
OKLCHoklch(40.16% 0.136 347)
XYZxyz(9.9159, 5.6460, 9.3699)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F56 #1F7841
analogous
#6D1F78 #781F56 #781F2A
triadic
#781F56 #56781F #1F5678
tetradic
#781F56 #786D1F #1F7841 #1F2A78
square
#781F56 #786D1F #1F7841 #1F2A78
split-complementary
#781F56 #2A781F #1F786D
monochromatic
#180611 #471233 #781F56 #A92C79 #CE4399

Accessibility & contrast

On white

9.86
#781F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F56
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F56#FFFFFF#000000##FFFFFF
##781F561.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3958
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#811C37
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f56;
/* rgb */ color: rgb(120, 31, 86);
/* oklch */ color: oklch(40.2% 0.136 347.0);
Tailwind
colors: {
  custom: {
    50: '#a26385',
    500: '#781f56',
    950: '#000000',
  },
}
SCSS
$custom: #781f56;
$custom-light: #a26385;
$custom-dark: #000000;
JSON
{
  "hex": "#781f56",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 322.921,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.13576,
    "h": 347
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#781F56
secondary
#47AB6E
accent
#E28146
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F56

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

Preview Lab → · Contrast checker → · Palette generator →

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