#781A52#781A52

#781A52 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.140 H 349.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#781A52
RGBrgb(120, 26, 82)
HSLhsl(324, 64%, 29%)
HSVhsv(324, 78%, 47%)
CMYKcmyk(0%, 78.3%, 31.7%, 52.9%)
CIE-LABlab(27.69, 44.85, -10.17)
CIE-LCHlch(27.69, 45.99, 347.23°)
OKLaboklab(39.51% 0.1369 -0.0266)
OKLCHoklch(39.51% 0.14 349)
XYZxyz(9.6386, 5.3422, 8.5046)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A52 #1A7840
analogous
#6F1A78 #781A52 #781A23
triadic
#781A52 #52781A #1A5278
tetradic
#781A52 #786F1A #1A7840 #1A2378
square
#781A52 #786F1A #1A7840 #1A2378
split-complementary
#781A52 #23781A #1A786F
monochromatic
#190511 #460F30 #781A52 #AA2574 #D43895

Accessibility & contrast

On white

10.15
#781A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A52
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A52#FFFFFF#000000##FFFFFF
##781A521.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#444750
Tritanopia (blue-blind)
#811533
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781a52;
/* rgb */ color: rgb(120, 26, 82);
/* oklch */ color: oklch(39.5% 0.140 349.0);
Tailwind
colors: {
  custom: {
    50: '#a36182',
    500: '#781a52',
    950: '#000000',
  },
}
SCSS
$custom: #781a52;
$custom-light: #a36182;
$custom-dark: #000000;
JSON
{
  "hex": "#781a52",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 324.255,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.13952,
    "h": 349
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#781A52
secondary
#41AC6D
accent
#E78440
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781A52

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

Preview Lab → · Contrast checker → · Palette generator →

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