#771F5B#771F5B

#771F5B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.138 H 343.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#771F5B
RGBrgb(119, 31, 91)
HSLhsl(319, 59%, 29%)
HSVhsv(319, 74%, 47%)
CMYKcmyk(0%, 73.9%, 23.5%, 53.3%)
CIE-LABlab(28.53, 43.98, -14.82)
CIE-LCHlch(28.53, 46.41, 341.38°)
OKLaboklab(40.22% 0.1324 -0.0396)
OKLCHoklch(40.22% 0.138 343.3)
XYZxyz(9.9864, 5.6583, 10.4617)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F5B #1F773B
analogous
#671F77 #771F5B #771F2F
triadic
#771F5B #5B771F #1F5B77
tetradic
#771F5B #77671F #1F773B #1F2F77
square
#771F5B #77671F #1F773B #1F2F77
split-complementary
#771F5B #2F771F #1F7767
monochromatic
#180613 #461236 #771F5B #A82C80 #CE43A2

Accessibility & contrast

On white

9.85
#771F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#771F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F5B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F5B#FFFFFF#000000##FFFFFF
##771F5B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#7F1F3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #771f5b;
/* rgb */ color: rgb(119, 31, 91);
/* oklch */ color: oklch(40.2% 0.138 343.3);
Tailwind
colors: {
  custom: {
    50: '#a16389',
    500: '#771f5b',
    950: '#000000',
  },
}
SCSS
$custom: #771f5b;
$custom-light: #a16389;
$custom-dark: #000000;
JSON
{
  "hex": "#771f5b",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 319.091,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.13819,
    "h": 343.3
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#771F5B
secondary
#47AB67
accent
#E27846
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #771F5B

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

Preview Lab → · Contrast checker → · Palette generator →

#771F5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva