#781F55#781F55

#781F55 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.135 H 347.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#781F55
RGBrgb(120, 31, 85)
HSLhsl(324, 59%, 30%)
HSVhsv(324, 74%, 47%)
CMYKcmyk(0%, 74.2%, 29.2%, 52.9%)
CIE-LABlab(28.46, 43.43, -10.98)
CIE-LCHlch(28.46, 44.79, 345.81°)
OKLaboklab(40.11% 0.132 -0.0289)
OKLCHoklch(40.11% 0.135 347.6)
XYZxyz(9.8759, 5.6300, 9.1592)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F55 #1F7842
analogous
#6F1F78 #781F55 #781F28
triadic
#781F55 #55781F #1F5578
tetradic
#781F55 #786F1F #1F7842 #1F2878
square
#781F55 #786F1F #1F7842 #1F2878
split-complementary
#781F55 #28781F #1F786F
monochromatic
#180611 #471233 #781F55 #A92C77 #CE4398

Accessibility & contrast

On white

9.88
#781F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F55
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F55#FFFFFF#000000##FFFFFF
##781F551.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781f55;
/* rgb */ color: rgb(120, 31, 85);
/* oklch */ color: oklch(40.1% 0.135 347.6);
Tailwind
colors: {
  custom: {
    50: '#a26385',
    500: '#781f55',
    950: '#000000',
  },
}
SCSS
$custom: #781f55;
$custom-light: #a26385;
$custom-dark: #000000;
JSON
{
  "hex": "#781f55",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 323.596,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.13516,
    "h": 347.6
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#781F55
secondary
#47AB6F
accent
#E28346
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F55

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

Preview Lab → · Contrast checker → · Palette generator →

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