#772157#772157

#772157 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.133 H 346.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#772157
RGBrgb(119, 33, 87)
HSLhsl(322, 57%, 30%)
HSVhsv(322, 72%, 47%)
CMYKcmyk(0%, 72.3%, 26.9%, 53.3%)
CIE-LABlab(28.64, 42.62, -12.04)
CIE-LCHlch(28.64, 44.29, 344.23°)
OKLaboklab(40.24% 0.1291 -0.0319)
OKLCHoklch(40.24% 0.133 346.1)
XYZxyz(9.8723, 5.6988, 9.5950)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772157 #217741
analogous
#6C2177 #772157 #77212C
triadic
#772157 #577721 #215777
tetradic
#772157 #776C21 #217741 #212C77
square
#772157 #776C21 #217741 #212C77
split-complementary
#772157 #2C7721 #21776C
monochromatic
#180712 #471434 #772157 #A72E7A #CC479A

Accessibility & contrast

On white

9.81
#772157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#772157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772157
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772157#FFFFFF#000000##FFFFFF
##7721571.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#7F1F39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #772157;
/* rgb */ color: rgb(119, 33, 87);
/* oklch */ color: oklch(40.2% 0.133 346.1);
Tailwind
colors: {
  custom: {
    50: '#a16486',
    500: '#772157',
    950: '#000000',
  },
}
SCSS
$custom: #772157;
$custom-light: #a16486;
$custom-dark: #000000;
JSON
{
  "hex": "#772157",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 322.326,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.13294,
    "h": 346.1
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#772157
secondary
#4AAA6E
accent
#E08048
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #772157

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

Preview Lab → · Contrast checker → · Palette generator →

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