#772161#772161

#772161 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.140 H 339.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#772161
RGBrgb(119, 33, 97)
HSLhsl(315, 57%, 30%)
HSVhsv(315, 72%, 47%)
CMYKcmyk(0%, 72.3%, 18.5%, 53.3%)
CIE-LABlab(29.09, 44.09, -17.87)
CIE-LCHlch(29.09, 47.58, 337.94°)
OKLaboklab(40.72% 0.1312 -0.0482)
OKLCHoklch(40.72% 0.14 339.8)
XYZxyz(10.3095, 5.8737, 11.8977)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772161 #217737
analogous
#622177 #772161 #772136
triadic
#772161 #617721 #216177
tetradic
#772161 #776221 #217737 #213677
square
#772161 #776221 #217737 #213677
split-complementary
#772161 #367721 #217762
monochromatic
#180714 #47143A #772161 #A72E88 #CC47AA

Accessibility & contrast

On white

9.66
#772161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#772161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772161
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772161#FFFFFF#000000##FFFFFF
##7721611.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C63
Deuteranopia (green-blind)
#414A5F
Tritanopia (blue-blind)
#7E243E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #772161;
/* rgb */ color: rgb(119, 33, 97);
/* oklch */ color: oklch(40.7% 0.140 339.8);
Tailwind
colors: {
  custom: {
    50: '#a1648e',
    500: '#772161',
    950: '#000000',
  },
}
SCSS
$custom: #772161;
$custom-light: #a1648e;
$custom-dark: #000000;
JSON
{
  "hex": "#772161",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 315.349,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.13973,
    "h": 339.8
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#772161
secondary
#4AAA62
accent
#E06F48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #772161

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

Preview Lab → · Contrast checker → · Palette generator →

#772161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva