#771A5F#771A5F

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

Color values

HEX#771A5F
RGBrgb(119, 26, 95)
HSLhsl(315, 64%, 28%)
HSVhsv(315, 78%, 47%)
CMYKcmyk(0%, 78.2%, 20.2%, 53.3%)
CIE-LABlab(28.08, 46.37, -18.13)
CIE-LCHlch(28.08, 49.79, 338.64°)
OKLaboklab(39.95% 0.1386 -0.0489)
OKLCHoklch(39.95% 0.147 340.6)
XYZxyz(10.0430, 5.4880, 11.3546)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A5F #1A7732
analogous
#601A77 #771A5F #771A30
triadic
#771A5F #5F771A #1A5F77
tetradic
#771A5F #77601A #1A7732 #1A3077
square
#771A5F #77601A #1A7732 #1A3077
split-complementary
#771A5F #30771A #1A7760
monochromatic
#190514 #450F37 #771A5F #A92587 #D338AB

Accessibility & contrast

On white

10.01
#771A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A5F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A5F#FFFFFF#000000##FFFFFF
##771A5F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#40485D
Tritanopia (blue-blind)
#7E1D3A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #771a5f;
/* rgb */ color: rgb(119, 26, 95);
/* oklch */ color: oklch(40.0% 0.147 340.6);
Tailwind
colors: {
  custom: {
    50: '#a2618c',
    500: '#771a5f',
    950: '#000000',
  },
}
SCSS
$custom: #771a5f;
$custom-light: #a2618c;
$custom-dark: #000000;
JSON
{
  "hex": "#771a5f",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 315.484,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.147,
    "h": 340.6
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#771A5F
secondary
#41AC5D
accent
#E76C41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #771A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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