#781A62#781A62

#781A62 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 339.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#781A62
RGBrgb(120, 26, 98)
HSLhsl(314, 64%, 29%)
HSVhsv(314, 78%, 47%)
CMYKcmyk(0%, 78.3%, 18.3%, 52.9%)
CIE-LABlab(28.42, 47.07, -19.55)
CIE-LCHlch(28.42, 50.97, 337.44°)
OKLaboklab(40.28% 0.1401 -0.0529)
OKLCHoklch(40.28% 0.15 339.3)
XYZxyz(10.3200, 5.6147, 12.0932)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A62 #1A7830
analogous
#5F1A78 #781A62 #781A33
triadic
#781A62 #62781A #1A6278
tetradic
#781A62 #785F1A #1A7830 #1A3378
square
#781A62 #785F1A #1A7830 #1A3378
split-complementary
#781A62 #33781A #1A785F
monochromatic
#190515 #460F39 #781A62 #AA258B #D438B0

Accessibility & contrast

On white

9.89
#781A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A62
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A62#FFFFFF#000000##FFFFFF
##781A621.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#7F1E3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781a62;
/* rgb */ color: rgb(120, 26, 98);
/* oklch */ color: oklch(40.3% 0.150 339.3);
Tailwind
colors: {
  custom: {
    50: '#a2618f',
    500: '#781a62',
    950: '#000000',
  },
}
SCSS
$custom: #781a62;
$custom-light: #a2618f;
$custom-dark: #000000;
JSON
{
  "hex": "#781a62",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 314.043,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40278,
    "c": 0.14975,
    "h": 339.3
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#781A62
secondary
#41AC5A
accent
#E76740
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781A62

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

Preview Lab → · Contrast checker → · Palette generator →

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