#781B51#781B51

#781B51 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.138 H 349.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#781B51
RGBrgb(120, 27, 81)
HSLhsl(325, 63%, 29%)
HSVhsv(325, 78%, 47%)
CMYKcmyk(0%, 77.5%, 32.5%, 52.9%)
CIE-LABlab(27.77, 44.38, -9.38)
CIE-LCHlch(27.77, 45.36, 348.06°)
OKLaboklab(39.56% 0.1356 -0.0245)
OKLCHoklch(39.56% 0.138 349.8)
XYZxyz(9.6234, 5.3721, 8.3131)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B51 #1B7842
analogous
#711B78 #781B51 #781B23
triadic
#781B51 #51781B #1B5178
tetradic
#781B51 #78711B #1B7842 #1B2378
square
#781B51 #78711B #1B7842 #1B2378
split-complementary
#781B51 #23781B #1B7871
monochromatic
#190611 #46102F #781B51 #AA2673 #D33B93

Accessibility & contrast

On white

10.12
#781B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B51
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B51#FFFFFF#000000##FFFFFF
##781B511.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#45474F
Tritanopia (blue-blind)
#811533
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781b51;
/* rgb */ color: rgb(120, 27, 81);
/* oklch */ color: oklch(39.6% 0.138 349.8);
Tailwind
colors: {
  custom: {
    50: '#a36181',
    500: '#781b51',
    950: '#000000',
  },
}
SCSS
$custom: #781b51;
$custom-light: #a36181;
$custom-dark: #000000;
JSON
{
  "hex": "#781b51",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 325.161,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.1378,
    "h": 349.8
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#781B51
secondary
#43AC6F
accent
#E68741
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781B51

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

Preview Lab → · Contrast checker → · Palette generator →

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