#781A5F#781A5F

#781A5F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.148 H 341.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#781A5F
RGBrgb(120, 26, 95)
HSLhsl(316, 64%, 29%)
HSVhsv(316, 78%, 47%)
CMYKcmyk(0%, 78.3%, 20.8%, 52.9%)
CIE-LABlab(28.27, 46.63, -17.83)
CIE-LCHlch(28.27, 49.92, 339.08°)
OKLaboklab(40.12% 0.1396 -0.048)
OKLCHoklch(40.12% 0.148 341)
XYZxyz(10.1810, 5.5591, 11.3611)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A5F #1A7833
analogous
#621A78 #781A5F #781A30
triadic
#781A5F #5F781A #1A5F78
tetradic
#781A5F #78621A #1A7833 #1A3078
square
#781A5F #78621A #1A7833 #1A3078
split-complementary
#781A5F #30781A #1A7862
monochromatic
#190514 #460F37 #781A5F #AA2587 #D438AB

Accessibility & contrast

On white

9.95
#781A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A5F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A5F#FFFFFF#000000##FFFFFF
##781A5F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#40485D
Tritanopia (blue-blind)
#801C3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781a5f;
/* rgb */ color: rgb(120, 26, 95);
/* oklch */ color: oklch(40.1% 0.148 341.0);
Tailwind
colors: {
  custom: {
    50: '#a2618c',
    500: '#781a5f',
    950: '#000000',
  },
}
SCSS
$custom: #781a5f;
$custom-light: #a2618c;
$custom-dark: #000000;
JSON
{
  "hex": "#781a5f",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 315.957,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.14767,
    "h": 341
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#781A5F
secondary
#41AC5E
accent
#E76D40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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