#781E51#781E51

#781E51 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.134 H 350.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#781E51
RGBrgb(120, 30, 81)
HSLhsl(326, 60%, 29%)
HSVhsv(326, 75%, 47%)
CMYKcmyk(0%, 75%, 32.5%, 52.9%)
CIE-LABlab(28.16, 43.28, -8.79)
CIE-LCHlch(28.16, 44.17, 348.52°)
OKLaboklab(39.84% 0.1322 -0.0229)
OKLCHoklch(39.84% 0.134 350.2)
XYZxyz(9.6957, 5.5168, 8.3372)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E51 #1E7845
analogous
#721E78 #781E51 #781E24
triadic
#781E51 #51781E #1E5178
tetradic
#781E51 #78721E #1E7845 #1E2478
square
#781E51 #78721E #1E7845 #1E2478
split-complementary
#781E51 #24781E #1E7872
monochromatic
#180611 #471230 #781E51 #A92A72 #CF4192

Accessibility & contrast

On white

9.98
#781E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E51
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E51#FFFFFF#000000##FFFFFF
##781E511.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3852
Deuteranopia (green-blind)
#46484F
Tritanopia (blue-blind)
#811934
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e51;
/* rgb */ color: rgb(120, 30, 81);
/* oklch */ color: oklch(39.8% 0.134 350.2);
Tailwind
colors: {
  custom: {
    50: '#a36381',
    500: '#781e51',
    950: '#000000',
  },
}
SCSS
$custom: #781e51;
$custom-light: #a36381;
$custom-dark: #000000;
JSON
{
  "hex": "#781e51",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 326,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.13413,
    "h": 350.2
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#781E51
secondary
#46AC72
accent
#E38945
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781E51

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

Preview Lab → · Contrast checker → · Palette generator →

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