#781A57#781A57

#781A57 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.142 H 345.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#781A57
RGBrgb(120, 26, 87)
HSLhsl(321, 64%, 29%)
HSVhsv(321, 78%, 47%)
CMYKcmyk(0%, 78.3%, 27.5%, 52.9%)
CIE-LABlab(27.90, 45.51, -13.15)
CIE-LCHlch(27.90, 47.37, 343.89°)
OKLaboklab(39.74% 0.1381 -0.0349)
OKLCHoklch(39.74% 0.142 345.8)
XYZxyz(9.8359, 5.4211, 9.5434)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A57 #1A783B
analogous
#6A1A78 #781A57 #781A28
triadic
#781A57 #57781A #1A5778
tetradic
#781A57 #786A1A #1A783B #1A2878
square
#781A57 #786A1A #1A783B #1A2878
split-complementary
#781A57 #28781A #1A786A
monochromatic
#190512 #460F33 #781A57 #AA257B #D4389D

Accessibility & contrast

On white

10.08
#781A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A57
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A57#FFFFFF#000000##FFFFFF
##781A571.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#434855
Tritanopia (blue-blind)
#811836
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a57;
/* rgb */ color: rgb(120, 26, 87);
/* oklch */ color: oklch(39.7% 0.142 345.8);
Tailwind
colors: {
  custom: {
    50: '#a36186',
    500: '#781a57',
    950: '#000000',
  },
}
SCSS
$custom: #781a57;
$custom-light: #a36186;
$custom-dark: #000000;
JSON
{
  "hex": "#781a57",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 321.064,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.14247,
    "h": 345.8
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#781A57
secondary
#41AC67
accent
#E77B40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #781A57

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

Preview Lab → · Contrast checker → · Palette generator →

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