#781C58#781C58

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

Color values

HEX#781C58
RGBrgb(120, 28, 88)
HSLhsl(321, 62%, 29%)
HSVhsv(321, 77%, 47%)
CMYKcmyk(0%, 76.7%, 26.7%, 52.9%)
CIE-LABlab(28.19, 44.95, -13.36)
CIE-LCHlch(28.19, 46.89, 343.45°)
OKLaboklab(39.96% 0.1362 -0.0355)
OKLCHoklch(39.96% 0.141 345.4)
XYZxyz(9.9229, 5.5292, 9.7753)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C58 #1C783C
analogous
#6A1C78 #781C58 #781C2A
triadic
#781C58 #58781C #1C5878
tetradic
#781C58 #786A1C #1C783C #1C2A78
square
#781C58 #786A1C #1C783C #1C2A78
split-complementary
#781C58 #2A781C #1C786A
monochromatic
#190612 #461034 #781C58 #AA287C #D23D9E

Accessibility & contrast

On white

9.97
#781C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C58
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C58#FFFFFF#000000##FFFFFF
##781C581.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#801A37
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781c58;
/* rgb */ color: rgb(120, 28, 88);
/* oklch */ color: oklch(40.0% 0.141 345.4);
Tailwind
colors: {
  custom: {
    50: '#a26287',
    500: '#781c58',
    950: '#000000',
  },
}
SCSS
$custom: #781c58;
$custom-light: #a26287;
$custom-dark: #000000;
JSON
{
  "hex": "#781c58",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 320.87,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39961,
    "c": 0.14074,
    "h": 345.4
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#781C58
secondary
#44AC68
accent
#E57B43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781C58

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

Preview Lab → · Contrast checker → · Palette generator →

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