#781D58#781D58

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

Color values

HEX#781D58
RGBrgb(120, 29, 88)
HSLhsl(321, 61%, 29%)
HSVhsv(321, 76%, 47%)
CMYKcmyk(0%, 75.8%, 26.7%, 52.9%)
CIE-LABlab(28.32, 44.59, -13.16)
CIE-LCHlch(28.32, 46.49, 343.55°)
OKLaboklab(40.05% 0.1351 -0.035)
OKLCHoklch(40.05% 0.14 345.5)
XYZxyz(9.9470, 5.5774, 9.7833)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D58 #1D783D
analogous
#6B1D78 #781D58 #781D2B
triadic
#781D58 #58781D #1D5878
tetradic
#781D58 #786B1D #1D783D #1D2B78
square
#781D58 #786B1D #1D783D #1D2B78
split-complementary
#781D58 #2B781D #1D786B
monochromatic
#190612 #471134 #781D58 #A9297C #D13F9D

Accessibility & contrast

On white

9.93
#781D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D58
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D58#FFFFFF#000000##FFFFFF
##781D581.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#801B38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781d58;
/* rgb */ color: rgb(120, 29, 88);
/* oklch */ color: oklch(40.1% 0.140 345.5);
Tailwind
colors: {
  custom: {
    50: '#a26287',
    500: '#781d58',
    950: '#000000',
  },
}
SCSS
$custom: #781d58;
$custom-light: #a26287;
$custom-dark: #000000;
JSON
{
  "hex": "#781d58",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 321.099,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.13952,
    "h": 345.5
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#781D58
secondary
#45AC69
accent
#E47C44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781D58

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

Preview Lab → · Contrast checker → · Palette generator →

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