#771B5F#771B5F

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

Color values

HEX#771B5F
RGBrgb(119, 27, 95)
HSLhsl(316, 63%, 29%)
HSVhsv(316, 77%, 47%)
CMYKcmyk(0%, 77.3%, 20.2%, 53.3%)
CIE-LABlab(28.20, 46.03, -17.95)
CIE-LCHlch(28.20, 49.41, 338.70°)
OKLaboklab(40.04% 0.1376 -0.0484)
OKLCHoklch(40.04% 0.146 340.6)
XYZxyz(10.0655, 5.5330, 11.3621)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B5F #1B7733
analogous
#611B77 #771B5F #771B31
triadic
#771B5F #5F771B #1B5F77
tetradic
#771B5F #77611B #1B7733 #1B3177
square
#771B5F #77611B #1B7733 #1B3177
split-complementary
#771B5F #31771B #1B7761
monochromatic
#190614 #451037 #771B5F #A92687 #D23AAB

Accessibility & contrast

On white

9.97
#771B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#771B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B5F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B5F#FFFFFF#000000##FFFFFF
##771B5F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771b5f;
/* rgb */ color: rgb(119, 27, 95);
/* oklch */ color: oklch(40.0% 0.146 340.6);
Tailwind
colors: {
  custom: {
    50: '#a2628c',
    500: '#771b5f',
    950: '#000000',
  },
}
SCSS
$custom: #771b5f;
$custom-light: #a2628c;
$custom-dark: #000000;
JSON
{
  "hex": "#771b5f",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 315.652,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.14585,
    "h": 340.6
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#771B5F
secondary
#42AB5E
accent
#E66D42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #771B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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