#781E5C#781E5C

#781E5C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 343.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#781E5C
RGBrgb(120, 30, 92)
HSLhsl(319, 60%, 29%)
HSVhsv(319, 75%, 47%)
CMYKcmyk(0%, 75%, 23.3%, 52.9%)
CIE-LABlab(28.63, 44.78, -15.31)
CIE-LCHlch(28.63, 47.33, 341.12°)
OKLaboklab(40.34% 0.1348 -0.041)
OKLCHoklch(40.34% 0.141 343.1)
XYZxyz(10.1421, 5.6954, 10.6883)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E5C #1E783A
analogous
#671E78 #781E5C #781E2F
triadic
#781E5C #5C781E #1E5C78
tetradic
#781E5C #78671E #1E783A #1E2F78
square
#781E5C #78671E #1E783A #1E2F78
split-complementary
#781E5C #2F781E #1E7867
monochromatic
#180613 #471236 #781E5C #A92A82 #CF41A3

Accessibility & contrast

On white

9.82
#781E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E5C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E5C#FFFFFF#000000##FFFFFF
##781E5C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#801E3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e5c;
/* rgb */ color: rgb(120, 30, 92);
/* oklch */ color: oklch(40.3% 0.141 343.1);
Tailwind
colors: {
  custom: {
    50: '#a2638a',
    500: '#781e5c',
    950: '#000000',
  },
}
SCSS
$custom: #781e5c;
$custom-light: #a2638a;
$custom-dark: #000000;
JSON
{
  "hex": "#781e5c",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 318.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.14087,
    "h": 343.1
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#781E5C
secondary
#46AC66
accent
#E37645
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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