#772A5F#772A5F

#772A5F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.125 H 341.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#772A5F
RGBrgb(119, 42, 95)
HSLhsl(319, 48%, 32%)
HSVhsv(319, 65%, 47%)
CMYKcmyk(0%, 64.7%, 20.2%, 53.3%)
CIE-LABlab(30.41, 39.87, -14.54)
CIE-LCHlch(30.41, 42.44, 339.97°)
OKLaboklab(41.65% 0.1189 -0.0389)
OKLCHoklch(41.65% 0.125 341.9)
XYZxyz(10.5015, 6.4050, 11.5075)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A5F #2A7742
analogous
#692A77 #772A5F #772A39
triadic
#772A5F #5F772A #2A5F77
tetradic
#772A5F #77692A #2A7742 #2A3977
square
#772A5F #77692A #2A7742 #2A3977
split-complementary
#772A5F #39772A #2A7769
monochromatic
#1D0A17 #4A1A3B #772A5F #A43A83 #C458A2

Accessibility & contrast

On white

9.21
#772A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#772A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A5F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A5F#FFFFFF#000000##FFFFFF
##772A5F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#7E2B40
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #772a5f;
/* rgb */ color: rgb(119, 42, 95);
/* oklch */ color: oklch(41.7% 0.125 341.9);
Tailwind
colors: {
  custom: {
    50: '#a1698c',
    500: '#772a5f',
    950: '#000000',
  },
}
SCSS
$custom: #772a5f;
$custom-light: #a1698c;
$custom-dark: #000000;
JSON
{
  "hex": "#772a5f",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 318.701,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41651,
    "c": 0.12514,
    "h": 341.9
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#772A5F
secondary
#54A96E
accent
#D77A50
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #772A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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