#781F4D#781F4D

#781F4D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.131 H 353.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#781F4D
RGBrgb(120, 31, 77)
HSLhsl(329, 59%, 30%)
HSVhsv(329, 74%, 47%)
CMYKcmyk(0%, 74.2%, 35.8%, 52.9%)
CIE-LABlab(28.14, 42.39, -6.17)
CIE-LCHlch(28.14, 42.84, 351.72°)
OKLaboklab(39.78% 0.1298 -0.0158)
OKLCHoklch(39.78% 0.131 353.1)
XYZxyz(9.5758, 5.5100, 7.5790)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F4D #1F784A
analogous
#771F78 #781F4D #781F21
triadic
#781F4D #4D781F #1F4D78
tetradic
#781F4D #78771F #1F784A #1F2178
square
#781F4D #78771F #1F784A #1F2178
split-complementary
#781F4D #21781F #1F7877
monochromatic
#180610 #47122E #781F4D #A92C6C #CE438B

Accessibility & contrast

On white

9.99
#781F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F4D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F4D#FFFFFF#000000##FFFFFF
##781F4D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384E
Deuteranopia (green-blind)
#47484B
Tritanopia (blue-blind)
#821833
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781f4d;
/* rgb */ color: rgb(120, 31, 77);
/* oklch */ color: oklch(39.8% 0.131 353.1);
Tailwind
colors: {
  custom: {
    50: '#a3637e',
    500: '#781f4d',
    950: '#000000',
  },
}
SCSS
$custom: #781f4d;
$custom-light: #a3637e;
$custom-dark: #000000;
JSON
{
  "hex": "#781f4d",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 328.989,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.13075,
    "h": 353.1
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#781F4D
secondary
#47AB78
accent
#E29146
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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