#781B56#781B56

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

Color values

HEX#781B56
RGBrgb(120, 27, 86)
HSLhsl(322, 63%, 29%)
HSVhsv(322, 78%, 47%)
CMYKcmyk(0%, 77.5%, 28.3%, 52.9%)
CIE-LABlab(27.98, 45.03, -12.37)
CIE-LCHlch(27.98, 46.70, 344.64°)
OKLaboklab(39.78% 0.1368 -0.0327)
OKLCHoklch(39.78% 0.141 346.5)
XYZxyz(9.8178, 5.4499, 9.3372)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B56 #1B783D
analogous
#6C1B78 #781B56 #781B28
triadic
#781B56 #56781B #1B5678
tetradic
#781B56 #786C1B #1B783D #1B2878
square
#781B56 #786C1B #1B783D #1B2878
split-complementary
#781B56 #28781B #1B786C
monochromatic
#190612 #461032 #781B56 #AA267A #D33B9B

Accessibility & contrast

On white

10.05
#781B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B56
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B56#FFFFFF#000000##FFFFFF
##781B561.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b56;
/* rgb */ color: rgb(120, 27, 86);
/* oklch */ color: oklch(39.8% 0.141 346.5);
Tailwind
colors: {
  custom: {
    50: '#a36185',
    500: '#781b56',
    950: '#000000',
  },
}
SCSS
$custom: #781b56;
$custom-light: #a36185;
$custom-dark: #000000;
JSON
{
  "hex": "#781b56",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 321.935,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.1407,
    "h": 346.5
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#781B56
secondary
#43AC69
accent
#E67E41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #781B56

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

Preview Lab → · Contrast checker → · Palette generator →

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