#771A5D#771A5D

#771A5D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.146 H 341.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#771A5D
RGBrgb(119, 26, 93)
HSLhsl(317, 64%, 28%)
HSVhsv(317, 78%, 47%)
CMYKcmyk(0%, 78.2%, 21.8%, 53.3%)
CIE-LABlab(27.99, 46.08, -16.98)
CIE-LCHlch(27.99, 49.11, 339.78°)
OKLaboklab(39.85% 0.1383 -0.0456)
OKLCHoklch(39.85% 0.146 341.7)
XYZxyz(9.9533, 5.4521, 10.8820)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A5D #1A7734
analogous
#621A77 #771A5D #771A2E
triadic
#771A5D #5D771A #1A5D77
tetradic
#771A5D #77621A #1A7734 #1A2E77
square
#771A5D #77621A #1A7734 #1A2E77
split-complementary
#771A5D #2E771A #1A7762
monochromatic
#190514 #450F36 #771A5D #A92584 #D338A8

Accessibility & contrast

On white

10.05
#771A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#771A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A5D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A5D#FFFFFF#000000##FFFFFF
##771A5D1.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)
#23385F
Deuteranopia (green-blind)
#40475B
Tritanopia (blue-blind)
#7F1C39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #771a5d;
/* rgb */ color: rgb(119, 26, 93);
/* oklch */ color: oklch(39.9% 0.146 341.7);
Tailwind
colors: {
  custom: {
    50: '#a2618b',
    500: '#771a5d',
    950: '#000000',
  },
}
SCSS
$custom: #771a5d;
$custom-light: #a2618b;
$custom-dark: #000000;
JSON
{
  "hex": "#771a5d",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 316.774,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.14564,
    "h": 341.7
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#771A5D
secondary
#41AC5F
accent
#E76F41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #771A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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