#781E5D#781E5D

#781E5D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.142 H 342.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#781E5D
RGBrgb(120, 30, 93)
HSLhsl(318, 60%, 29%)
HSVhsv(318, 75%, 47%)
CMYKcmyk(0%, 75%, 22.5%, 52.9%)
CIE-LABlab(28.68, 44.93, -15.89)
CIE-LCHlch(28.68, 47.66, 340.52°)
OKLaboklab(40.39% 0.135 -0.0426)
OKLCHoklch(40.39% 0.142 342.5)
XYZxyz(10.1861, 5.7130, 10.9201)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E5D #1E7839
analogous
#661E78 #781E5D #781E30
triadic
#781E5D #5D781E #1E5D78
tetradic
#781E5D #78661E #1E7839 #1E3078
square
#781E5D #78661E #1E7839 #1E3078
split-complementary
#781E5D #30781E #1E7866
monochromatic
#180613 #471237 #781E5D #A92A83 #CF41A5

Accessibility & contrast

On white

9.80
#781E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E5D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E5D#FFFFFF#000000##FFFFFF
##781E5D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#801F3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781e5d;
/* rgb */ color: rgb(120, 30, 93);
/* oklch */ color: oklch(40.4% 0.142 342.5);
Tailwind
colors: {
  custom: {
    50: '#a2638b',
    500: '#781e5d',
    950: '#000000',
  },
}
SCSS
$custom: #781e5d;
$custom-light: #a2638b;
$custom-dark: #000000;
JSON
{
  "hex": "#781e5d",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 318,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.14154,
    "h": 342.5
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#781E5D
secondary
#46AC65
accent
#E37445
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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