#781F63#781F63

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

Color values

HEX#781F63
RGBrgb(120, 31, 99)
HSLhsl(314, 59%, 30%)
HSVhsv(314, 74%, 47%)
CMYKcmyk(0%, 74.2%, 17.5%, 52.9%)
CIE-LABlab(29.09, 45.45, -19.15)
CIE-LCHlch(29.09, 49.32, 337.15°)
OKLaboklab(40.78% 0.1349 -0.0518)
OKLCHoklch(40.78% 0.144 339)
XYZxyz(10.4881, 5.8749, 12.3836)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F63 #1F7834
analogous
#601F78 #781F63 #781F37
triadic
#781F63 #63781F #1F6378
tetradic
#781F63 #78601F #1F7834 #1F3778
square
#781F63 #78601F #1F7834 #1F3778
split-complementary
#781F63 #37781F #1F7860
monochromatic
#180614 #47123B #781F63 #A92C8B #CE43AE

Accessibility & contrast

On white

9.66
#781F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F63
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F63#FFFFFF#000000##FFFFFF
##781F631.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C65
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#7F233E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781f63;
/* rgb */ color: rgb(120, 31, 99);
/* oklch */ color: oklch(40.8% 0.144 339.0);
Tailwind
colors: {
  custom: {
    50: '#a2648f',
    500: '#781f63',
    950: '#000000',
  },
}
SCSS
$custom: #781f63;
$custom-light: #a2648f;
$custom-dark: #000000;
JSON
{
  "hex": "#781f63",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 314.157,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.14448,
    "h": 339
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#781F63
secondary
#47AB5F
accent
#E26B46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781F63

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

Preview Lab → · Contrast checker → · Palette generator →

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