#781A58#781A58

#781A58 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.143 H 345.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#781A58
RGBrgb(120, 26, 88)
HSLhsl(320, 64%, 29%)
HSVhsv(320, 78%, 47%)
CMYKcmyk(0%, 78.3%, 26.7%, 52.9%)
CIE-LABlab(27.95, 45.65, -13.74)
CIE-LCHlch(27.95, 47.67, 343.25°)
OKLaboklab(39.78% 0.1384 -0.0365)
OKLCHoklch(39.78% 0.143 345.2)
XYZxyz(9.8770, 5.4375, 9.7600)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A58 #1A783A
analogous
#691A78 #781A58 #781A29
triadic
#781A58 #58781A #1A5878
tetradic
#781A58 #78691A #1A783A #1A2978
square
#781A58 #78691A #1A783A #1A2978
split-complementary
#781A58 #29781A #1A7869
monochromatic
#190512 #460F33 #781A58 #AA257D #D4389F

Accessibility & contrast

On white

10.06
#781A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A58
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A58#FFFFFF#000000##FFFFFF
##781A581.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#801837
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a58;
/* rgb */ color: rgb(120, 26, 88);
/* oklch */ color: oklch(39.8% 0.143 345.2);
Tailwind
colors: {
  custom: {
    50: '#a36187',
    500: '#781a58',
    950: '#000000',
  },
}
SCSS
$custom: #781a58;
$custom-light: #a36187;
$custom-dark: #000000;
JSON
{
  "hex": "#781a58",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 320.426,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.14309,
    "h": 345.2
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#781A58
secondary
#41AC66
accent
#E77940
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #781A58

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

Preview Lab → · Contrast checker → · Palette generator →

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