#781D62#781D62

#781D62 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.146 H 339.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#781D62
RGBrgb(120, 29, 98)
HSLhsl(315, 61%, 29%)
HSVhsv(315, 76%, 47%)
CMYKcmyk(0%, 75.8%, 18.3%, 52.9%)
CIE-LABlab(28.78, 46.03, -18.98)
CIE-LCHlch(28.78, 49.80, 337.59°)
OKLaboklab(40.54% 0.1369 -0.0513)
OKLCHoklch(40.54% 0.146 339.5)
XYZxyz(10.3900, 5.7546, 12.1165)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D62 #1D7833
analogous
#611D78 #781D62 #781D35
triadic
#781D62 #62781D #1D6278
tetradic
#781D62 #78611D #1D7833 #1D3578
square
#781D62 #78611D #1D7833 #1D3578
split-complementary
#781D62 #35781D #1D7861
monochromatic
#190614 #47113A #781D62 #A9298A #D13FAD

Accessibility & contrast

On white

9.76
#781D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D62
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D62#FFFFFF#000000##FFFFFF
##781D621.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#7F203D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781d62;
/* rgb */ color: rgb(120, 29, 98);
/* oklch */ color: oklch(40.5% 0.146 339.5);
Tailwind
colors: {
  custom: {
    50: '#a2638f',
    500: '#781d62',
    950: '#000000',
  },
}
SCSS
$custom: #781d62;
$custom-light: #a2638f;
$custom-dark: #000000;
JSON
{
  "hex": "#781d62",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 314.505,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.14624,
    "h": 339.5
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#781D62
secondary
#45AC5E
accent
#E46A44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781D62

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

Preview Lab → · Contrast checker → · Palette generator →

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