#781A5D#781A5D

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

Color values

HEX#781A5D
RGBrgb(120, 26, 93)
HSLhsl(317, 64%, 29%)
HSVhsv(317, 78%, 47%)
CMYKcmyk(0%, 78.3%, 22.5%, 52.9%)
CIE-LABlab(28.18, 46.34, -16.67)
CIE-LCHlch(28.18, 49.25, 340.22°)
OKLaboklab(40.02% 0.1393 -0.0447)
OKLCHoklch(40.02% 0.146 342.2)
XYZxyz(10.0913, 5.5232, 10.8884)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A5D #1A7835
analogous
#641A78 #781A5D #781A2E
triadic
#781A5D #5D781A #1A5D78
tetradic
#781A5D #78641A #1A7835 #1A2E78
square
#781A5D #78641A #1A7835 #1A2E78
split-complementary
#781A5D #2E781A #1A7864
monochromatic
#190513 #460F36 #781A5D #AA2584 #D438A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781A5D#FFFFFF#000000##FFFFFF
##781A5D1.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)
#23395F
Deuteranopia (green-blind)
#41485B
Tritanopia (blue-blind)
#801B39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a5d;
/* rgb */ color: rgb(120, 26, 93);
/* oklch */ color: oklch(40.0% 0.146 342.2);
Tailwind
colors: {
  custom: {
    50: '#a2618b',
    500: '#781a5d',
    950: '#000000',
  },
}
SCSS
$custom: #781a5d;
$custom-light: #a2618b;
$custom-dark: #000000;
JSON
{
  "hex": "#781a5d",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 317.234,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.14632,
    "h": 342.2
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#781A5D
secondary
#41AC60
accent
#E77040
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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