#781B52#781B52

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

Color values

HEX#781B52
RGBrgb(120, 27, 82)
HSLhsl(325, 63%, 29%)
HSVhsv(325, 78%, 47%)
CMYKcmyk(0%, 77.5%, 31.7%, 52.9%)
CIE-LABlab(27.81, 44.51, -9.98)
CIE-LCHlch(27.81, 45.61, 347.36°)
OKLaboklab(39.6% 0.1359 -0.0261)
OKLCHoklch(39.6% 0.138 349.1)
XYZxyz(9.6612, 5.3872, 8.5121)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B52 #1B7841
analogous
#701B78 #781B52 #781B24
triadic
#781B52 #52781B #1B5278
tetradic
#781B52 #78701B #1B7841 #1B2478
square
#781B52 #78701B #1B7841 #1B2478
split-complementary
#781B52 #24781B #1B7870
monochromatic
#190611 #461030 #781B52 #AA2674 #D33B95

Accessibility & contrast

On white

10.11
#781B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B52
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B52#FFFFFF#000000##FFFFFF
##781B521.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#811634
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781b52;
/* rgb */ color: rgb(120, 27, 82);
/* oklch */ color: oklch(39.6% 0.138 349.1);
Tailwind
colors: {
  custom: {
    50: '#a36182',
    500: '#781b52',
    950: '#000000',
  },
}
SCSS
$custom: #781b52;
$custom-light: #a36182;
$custom-dark: #000000;
JSON
{
  "hex": "#781b52",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 324.516,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.13835,
    "h": 349.1
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#781B52
secondary
#43AC6E
accent
#E68541
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781B52

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

Preview Lab → · Contrast checker → · Palette generator →

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