#781E58#781E58

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

Color values

HEX#781E58
RGBrgb(120, 30, 88)
HSLhsl(321, 60%, 29%)
HSVhsv(321, 75%, 47%)
CMYKcmyk(0%, 75%, 26.7%, 52.9%)
CIE-LABlab(28.45, 44.22, -12.96)
CIE-LCHlch(28.45, 46.08, 343.66°)
OKLaboklab(40.15% 0.1339 -0.0344)
OKLCHoklch(40.15% 0.138 345.6)
XYZxyz(9.9719, 5.6273, 9.7916)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E58 #1E783E
analogous
#6B1E78 #781E58 #781E2B
triadic
#781E58 #58781E #1E5878
tetradic
#781E58 #786B1E #1E783E #1E2B78
square
#781E58 #786B1E #1E783E #1E2B78
split-complementary
#781E58 #2B781E #1E786B
monochromatic
#180612 #471234 #781E58 #A92A7C #CF419D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781E58#FFFFFF#000000##FFFFFF
##781E581.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)
#29395A
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#801C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e58;
/* rgb */ color: rgb(120, 30, 88);
/* oklch */ color: oklch(40.2% 0.138 345.6);
Tailwind
colors: {
  custom: {
    50: '#a26387',
    500: '#781e58',
    950: '#000000',
  },
}
SCSS
$custom: #781e58;
$custom-light: #a26387;
$custom-dark: #000000;
JSON
{
  "hex": "#781e58",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 321.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.13828,
    "h": 345.6
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#781E58
secondary
#46AC6A
accent
#E37D45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E58

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

Preview Lab → · Contrast checker → · Palette generator →

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