#781E4D#781E4D

#781E4D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.132 H 352.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#781E4D
RGBrgb(120, 30, 77)
HSLhsl(329, 60%, 29%)
HSVhsv(329, 75%, 47%)
CMYKcmyk(0%, 75%, 35.8%, 52.9%)
CIE-LABlab(28.00, 42.78, -6.37)
CIE-LCHlch(28.00, 43.25, 351.53°)
OKLaboklab(39.67% 0.131 -0.0163)
OKLCHoklch(39.67% 0.132 352.9)
XYZxyz(9.5501, 5.4586, 7.5704)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E4D #1E7849
analogous
#761E78 #781E4D #781E20
triadic
#781E4D #4D781E #1E4D78
tetradic
#781E4D #78761E #1E7849 #1E2078
square
#781E4D #78761E #1E7849 #1E2078
split-complementary
#781E4D #20781E #1E7876
monochromatic
#180610 #47122E #781E4D #A92A6C #CF418B

Accessibility & contrast

On white

10.04
#781E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E4D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E4D#FFFFFF#000000##FFFFFF
##781E4D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781e4d;
/* rgb */ color: rgb(120, 30, 77);
/* oklch */ color: oklch(39.7% 0.132 352.9);
Tailwind
colors: {
  custom: {
    50: '#a3627e',
    500: '#781e4d',
    950: '#000000',
  },
}
SCSS
$custom: #781e4d;
$custom-light: #a3627e;
$custom-dark: #000000;
JSON
{
  "hex": "#781e4d",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 328.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.13202,
    "h": 352.9
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#781E4D
secondary
#46AC77
accent
#E39045
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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