#781B58#781B58

#781B58 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.142 H 345.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#781B58
RGBrgb(120, 27, 88)
HSLhsl(321, 63%, 29%)
HSVhsv(321, 78%, 47%)
CMYKcmyk(0%, 77.5%, 26.7%, 52.9%)
CIE-LABlab(28.07, 45.30, -13.55)
CIE-LCHlch(28.07, 47.29, 343.35°)
OKLaboklab(39.87% 0.1373 -0.036)
OKLCHoklch(39.87% 0.142 345.3)
XYZxyz(9.8995, 5.4826, 9.7675)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B58 #1B783B
analogous
#6A1B78 #781B58 #781B2A
triadic
#781B58 #58781B #1B5878
tetradic
#781B58 #786A1B #1B783B #1B2A78
square
#781B58 #786A1B #1B783B #1B2A78
split-complementary
#781B58 #2A781B #1B786A
monochromatic
#190612 #461033 #781B58 #AA267D #D33B9E

Accessibility & contrast

On white

10.02
#781B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B58
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B58#FFFFFF#000000##FFFFFF
##781B581.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b58;
/* rgb */ color: rgb(120, 27, 88);
/* oklch */ color: oklch(39.9% 0.142 345.3);
Tailwind
colors: {
  custom: {
    50: '#a36187',
    500: '#781b58',
    950: '#000000',
  },
}
SCSS
$custom: #781b58;
$custom-light: #a36187;
$custom-dark: #000000;
JSON
{
  "hex": "#781b58",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 320.645,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.14193,
    "h": 345.3
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#781B58
secondary
#43AC67
accent
#E67A41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781B58

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

Preview Lab → · Contrast checker → · Palette generator →

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