#781F4A#781F4A

#781F4A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.129 H 355.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#781F4A
RGBrgb(120, 31, 74)
HSLhsl(331, 59%, 30%)
HSVhsv(331, 74%, 47%)
CMYKcmyk(0%, 74.2%, 38.3%, 52.9%)
CIE-LABlab(28.03, 42.03, -4.34)
CIE-LCHlch(28.03, 42.25, 354.11°)
OKLaboklab(39.66% 0.1288 -0.0109)
OKLCHoklch(39.66% 0.129 355.2)
XYZxyz(9.4723, 5.4686, 7.0340)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F4A #1F784D
analogous
#781F77 #781F4A #78211F
triadic
#781F4A #4A781F #1F4A78
tetradic
#781F4A #77781F #1F784D #211F78
square
#781F4A #77781F #1F784D #211F78
split-complementary
#781F4A #1F7821 #1F7778
monochromatic
#18060F #47122C #781F4A #A92C68 #CE4386

Accessibility & contrast

On white

10.03
#781F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F4A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F4A#FFFFFF#000000##FFFFFF
##781F4A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#821631
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781f4a;
/* rgb */ color: rgb(120, 31, 74);
/* oklch */ color: oklch(39.7% 0.129 355.2);
Tailwind
colors: {
  custom: {
    50: '#a3637c',
    500: '#781f4a',
    950: '#000000',
  },
}
SCSS
$custom: #781f4a;
$custom-light: #a3637c;
$custom-dark: #000000;
JSON
{
  "hex": "#781f4a",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 331.011,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39658,
    "c": 0.1293,
    "h": 355.2
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#781F4A
secondary
#47AB7B
accent
#E29746
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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