#781B4A#781B4A

#781B4A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 354.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#781B4A
RGBrgb(120, 27, 74)
HSLhsl(330, 63%, 29%)
HSVhsv(330, 78%, 47%)
CMYKcmyk(0%, 77.5%, 38.3%, 52.9%)
CIE-LABlab(27.50, 43.52, -5.13)
CIE-LCHlch(27.50, 43.83, 353.28°)
OKLaboklab(39.27% 0.1336 -0.013)
OKLCHoklch(39.27% 0.134 354.4)
XYZxyz(9.3743, 5.2725, 7.0013)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B4A #1B7849
analogous
#781B78 #781B4A #781B1C
triadic
#781B4A #4A781B #1B4A78
tetradic
#781B4A #78781B #1B7849 #1B1C78
square
#781B4A #78781B #1B7849 #1B1C78
split-complementary
#781B4A #1C781B #1B7878
monochromatic
#19060F #46102B #781B4A #AA2669 #D33B88

Accessibility & contrast

On white

10.22
#781B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#781B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B4A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B4A#FFFFFF#000000##FFFFFF
##781B4A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#474748
Tritanopia (blue-blind)
#821130
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b4a;
/* rgb */ color: rgb(120, 27, 74);
/* oklch */ color: oklch(39.3% 0.134 354.4);
Tailwind
colors: {
  custom: {
    50: '#a3617c',
    500: '#781b4a',
    950: '#000000',
  },
}
SCSS
$custom: #781b4a;
$custom-light: #a3617c;
$custom-dark: #000000;
JSON
{
  "hex": "#781b4a",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 329.677,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.1342,
    "h": 354.4
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#781B4A
secondary
#43AC77
accent
#E69341
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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