#781C5E#781C5E

#781C5E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.145 H 341.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#781C5E
RGBrgb(120, 28, 94)
HSLhsl(317, 62%, 29%)
HSVhsv(317, 77%, 47%)
CMYKcmyk(0%, 76.7%, 21.7%, 52.9%)
CIE-LABlab(28.47, 45.80, -16.87)
CIE-LCHlch(28.47, 48.81, 339.78°)
OKLaboklab(40.25% 0.1374 -0.0453)
OKLCHoklch(40.25% 0.145 341.7)
XYZxyz(10.1817, 5.6328, 11.1385)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C5E #1C7836
analogous
#641C78 #781C5E #781C30
triadic
#781C5E #5E781C #1C5E78
tetradic
#781C5E #78641C #1C7836 #1C3078
square
#781C5E #78641C #1C7836 #1C3078
split-complementary
#781C5E #30781C #1C7864
monochromatic
#190613 #461037 #781C5E #AA2885 #D23DA8

Accessibility & contrast

On white

9.88
#781C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C5E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C5E#FFFFFF#000000##FFFFFF
##781C5E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#41495C
Tritanopia (blue-blind)
#801D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781c5e;
/* rgb */ color: rgb(120, 28, 94);
/* oklch */ color: oklch(40.3% 0.145 341.7);
Tailwind
colors: {
  custom: {
    50: '#a2628b',
    500: '#781c5e',
    950: '#000000',
  },
}
SCSS
$custom: #781c5e;
$custom-light: #a2628b;
$custom-dark: #000000;
JSON
{
  "hex": "#781c5e",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 316.957,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4025,
    "c": 0.14467,
    "h": 341.7
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#781C5E
secondary
#44AC61
accent
#E57143
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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