#781E5E#781E5E

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

Color values

HEX#781E5E
RGBrgb(120, 30, 94)
HSLhsl(317, 60%, 29%)
HSVhsv(317, 75%, 47%)
CMYKcmyk(0%, 75%, 21.7%, 52.9%)
CIE-LABlab(28.72, 45.07, -16.47)
CIE-LCHlch(28.72, 47.99, 339.92°)
OKLaboklab(40.44% 0.1352 -0.0442)
OKLCHoklch(40.44% 0.142 341.9)
XYZxyz(10.2307, 5.7308, 11.1549)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E5E #1E7838
analogous
#651E78 #781E5E #781E31
triadic
#781E5E #5E781E #1E5E78
tetradic
#781E5E #78651E #1E7838 #1E3178
square
#781E5E #78651E #1E7838 #1E3178
split-complementary
#781E5E #31781E #1E7865
monochromatic
#180613 #471238 #781E5E #A92A84 #CF41A6

Accessibility & contrast

On white

9.79
#781E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E5E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E5E#FFFFFF#000000##FFFFFF
##781E5E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#801F3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781e5e;
/* rgb */ color: rgb(120, 30, 94);
/* oklch */ color: oklch(40.4% 0.142 341.9);
Tailwind
colors: {
  custom: {
    50: '#a2638b',
    500: '#781e5e',
    950: '#000000',
  },
}
SCSS
$custom: #781e5e;
$custom-light: #a2638b;
$custom-dark: #000000;
JSON
{
  "hex": "#781e5e",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 317.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.14222,
    "h": 341.9
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#781E5E
secondary
#46AC63
accent
#E37245
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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