#781B57#781B57

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

Color values

HEX#781B57
RGBrgb(120, 27, 87)
HSLhsl(321, 63%, 29%)
HSVhsv(321, 78%, 47%)
CMYKcmyk(0%, 77.5%, 27.5%, 52.9%)
CIE-LABlab(28.02, 45.17, -12.96)
CIE-LCHlch(28.02, 46.99, 343.99°)
OKLaboklab(39.82% 0.1371 -0.0344)
OKLCHoklch(39.82% 0.141 345.9)
XYZxyz(9.8584, 5.4661, 9.5509)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B57 #1B783C
analogous
#6B1B78 #781B57 #781B29
triadic
#781B57 #57781B #1B5778
tetradic
#781B57 #786B1B #1B783C #1B2978
square
#781B57 #786B1B #1B783C #1B2978
split-complementary
#781B57 #29781B #1B786B
monochromatic
#190612 #461033 #781B57 #AA267B #D33B9D

Accessibility & contrast

On white

10.03
#781B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B57
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B57#FFFFFF#000000##FFFFFF
##781B571.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b57;
/* rgb */ color: rgb(120, 27, 87);
/* oklch */ color: oklch(39.8% 0.141 345.9);
Tailwind
colors: {
  custom: {
    50: '#a36186',
    500: '#781b57',
    950: '#000000',
  },
}
SCSS
$custom: #781b57;
$custom-light: #a36186;
$custom-dark: #000000;
JSON
{
  "hex": "#781b57",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 321.29,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.14131,
    "h": 345.9
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#781B57
secondary
#43AC68
accent
#E67C41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #781B57

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

Preview Lab → · Contrast checker → · Palette generator →

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