#771C5F#771C5F

#771C5F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.145 H 340.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#771C5F
RGBrgb(119, 28, 95)
HSLhsl(316, 62%, 29%)
HSVhsv(316, 76%, 47%)
CMYKcmyk(0%, 76.5%, 20.2%, 53.3%)
CIE-LABlab(28.33, 45.68, -17.76)
CIE-LCHlch(28.33, 49.01, 338.76°)
OKLaboklab(40.13% 0.1365 -0.0478)
OKLCHoklch(40.13% 0.145 340.7)
XYZxyz(10.0889, 5.5797, 11.3699)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C5F #1C7734
analogous
#621C77 #771C5F #771C32
triadic
#771C5F #5F771C #1C5F77
tetradic
#771C5F #77621C #1C7734 #1C3277
square
#771C5F #77621C #1C7734 #1C3277
split-complementary
#771C5F #32771C #1C7762
monochromatic
#190614 #451037 #771C5F #A92887 #D13CAA

Accessibility & contrast

On white

9.93
#771C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#771C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C5F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C5F#FFFFFF#000000##FFFFFF
##771C5F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#40485D
Tritanopia (blue-blind)
#7E1E3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #771c5f;
/* rgb */ color: rgb(119, 28, 95);
/* oklch */ color: oklch(40.1% 0.145 340.7);
Tailwind
colors: {
  custom: {
    50: '#a2628c',
    500: '#771c5f',
    950: '#000000',
  },
}
SCSS
$custom: #771c5f;
$custom-light: #a2628c;
$custom-dark: #000000;
JSON
{
  "hex": "#771c5f",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 315.824,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40128,
    "c": 0.14466,
    "h": 340.7
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#771C5F
secondary
#44AB5F
accent
#E56E43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #771C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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