#771B5E#771B5E

#771B5E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 341.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#771B5E
RGBrgb(119, 27, 94)
HSLhsl(316, 63%, 29%)
HSVhsv(316, 77%, 47%)
CMYKcmyk(0%, 77.3%, 21%, 53.3%)
CIE-LABlab(28.15, 45.88, -17.37)
CIE-LCHlch(28.15, 49.06, 339.27°)
OKLaboklab(39.99% 0.1374 -0.0467)
OKLCHoklch(39.99% 0.145 341.2)
XYZxyz(10.0204, 5.5150, 11.1243)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B5E #1B7734
analogous
#621B77 #771B5E #771B30
triadic
#771B5E #5E771B #1B5E77
tetradic
#771B5E #77621B #1B7734 #1B3077
square
#771B5E #77621B #1B7734 #1B3077
split-complementary
#771B5E #30771B #1B7762
monochromatic
#190614 #451037 #771B5E #A92685 #D23AA9

Accessibility & contrast

On white

9.99
#771B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#771B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B5E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B5E#FFFFFF#000000##FFFFFF
##771B5E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#40485C
Tritanopia (blue-blind)
#7F1D3A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #771b5e;
/* rgb */ color: rgb(119, 27, 94);
/* oklch */ color: oklch(40.0% 0.145 341.2);
Tailwind
colors: {
  custom: {
    50: '#a2628c',
    500: '#771b5e',
    950: '#000000',
  },
}
SCSS
$custom: #771b5e;
$custom-light: #a2628c;
$custom-dark: #000000;
JSON
{
  "hex": "#771b5e",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 316.304,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.14516,
    "h": 341.2
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#771B5E
secondary
#42AB5F
accent
#E66E42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #771B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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