#781E4C#781E4C

#781E4C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.132 H 353.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#781E4C
RGBrgb(120, 30, 76)
HSLhsl(329, 60%, 29%)
HSVhsv(329, 75%, 47%)
CMYKcmyk(0%, 75%, 36.7%, 52.9%)
CIE-LABlab(27.97, 42.66, -5.76)
CIE-LCHlch(27.97, 43.05, 352.30°)
OKLaboklab(39.64% 0.1307 -0.0147)
OKLCHoklch(39.64% 0.132 353.6)
XYZxyz(9.5151, 5.4445, 7.3859)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E4C #1E784A
analogous
#771E78 #781E4C #781E1F
triadic
#781E4C #4C781E #1E4C78
tetradic
#781E4C #78771E #1E784A #1E1F78
square
#781E4C #78771E #1E784A #1E1F78
split-complementary
#781E4C #1F781E #1E7877
monochromatic
#180610 #47122D #781E4C #A92A6B #CF418A

Accessibility & contrast

On white

10.05
#781E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E4C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E4C#FFFFFF#000000##FFFFFF
##781E4C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384D
Deuteranopia (green-blind)
#47484A
Tritanopia (blue-blind)
#821632
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e4c;
/* rgb */ color: rgb(120, 30, 76);
/* oklch */ color: oklch(39.6% 0.132 353.6);
Tailwind
colors: {
  custom: {
    50: '#a3627e',
    500: '#781e4c',
    950: '#000000',
  },
}
SCSS
$custom: #781e4c;
$custom-light: #a3627e;
$custom-dark: #000000;
JSON
{
  "hex": "#781e4c",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 329.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.13152,
    "h": 353.6
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#781E4C
secondary
#46AC78
accent
#E39245
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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