#781F62#781F62

#781F62 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.144 H 339.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#781F62
RGBrgb(120, 31, 98)
HSLhsl(315, 59%, 30%)
HSVhsv(315, 74%, 47%)
CMYKcmyk(0%, 74.2%, 18.3%, 52.9%)
CIE-LABlab(29.05, 45.30, -18.58)
CIE-LCHlch(29.05, 48.96, 337.70°)
OKLaboklab(40.73% 0.1347 -0.0502)
OKLCHoklch(40.73% 0.144 339.6)
XYZxyz(10.4406, 5.8559, 12.1333)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F62 #1F7835
analogous
#611F78 #781F62 #781F36
triadic
#781F62 #62781F #1F6278
tetradic
#781F62 #78611F #1F7835 #1F3678
square
#781F62 #78611F #1F7835 #1F3678
split-complementary
#781F62 #36781F #1F7861
monochromatic
#180614 #47123A #781F62 #A92C8A #CE43AC

Accessibility & contrast

On white

9.67
#781F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F62
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F62#FFFFFF#000000##FFFFFF
##781F621.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#414A60
Tritanopia (blue-blind)
#7F223E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f62;
/* rgb */ color: rgb(120, 31, 98);
/* oklch */ color: oklch(40.7% 0.144 339.6);
Tailwind
colors: {
  custom: {
    50: '#a2648f',
    500: '#781f62',
    950: '#000000',
  },
}
SCSS
$custom: #781f62;
$custom-light: #a2648f;
$custom-dark: #000000;
JSON
{
  "hex": "#781f62",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 314.831,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.14377,
    "h": 339.6
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#781F62
secondary
#47AB60
accent
#E26C46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781F62

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

Preview Lab → · Contrast checker → · Palette generator →

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