#781F58#781F58

#781F58 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.137 H 345.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#781F58
RGBrgb(120, 31, 88)
HSLhsl(322, 59%, 30%)
HSVhsv(322, 74%, 47%)
CMYKcmyk(0%, 74.2%, 26.7%, 52.9%)
CIE-LABlab(28.59, 43.84, -12.76)
CIE-LCHlch(28.59, 45.66, 343.78°)
OKLaboklab(40.25% 0.1328 -0.0338)
OKLCHoklch(40.25% 0.137 345.7)
XYZxyz(9.9976, 5.6787, 9.8002)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F58 #1F783F
analogous
#6C1F78 #781F58 #781F2C
triadic
#781F58 #58781F #1F5878
tetradic
#781F58 #786C1F #1F783F #1F2C78
square
#781F58 #786C1F #1F783F #1F2C78
split-complementary
#781F58 #2C781F #1F786C
monochromatic
#180612 #471234 #781F58 #A92C7C #CE439C

Accessibility & contrast

On white

9.83
#781F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F58
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F58#FFFFFF#000000##FFFFFF
##781F581.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#801D38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f58;
/* rgb */ color: rgb(120, 31, 88);
/* oklch */ color: oklch(40.2% 0.137 345.7);
Tailwind
colors: {
  custom: {
    50: '#a26387',
    500: '#781f58',
    950: '#000000',
  },
}
SCSS
$custom: #781f58;
$custom-light: #a26387;
$custom-dark: #000000;
JSON
{
  "hex": "#781f58",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 321.573,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.137,
    "h": 345.7
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#781F58
secondary
#47AB6B
accent
#E27E46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F58

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

Preview Lab → · Contrast checker → · Palette generator →

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