#772162#772162

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

Color values

HEX#772162
RGBrgb(119, 33, 98)
HSLhsl(315, 57%, 30%)
HSVhsv(315, 72%, 47%)
CMYKcmyk(0%, 72.3%, 17.6%, 53.3%)
CIE-LABlab(29.14, 44.25, -18.45)
CIE-LCHlch(29.14, 47.94, 337.37°)
OKLaboklab(40.77% 0.1313 -0.0498)
OKLCHoklch(40.77% 0.14 339.2)
XYZxyz(10.3565, 5.8925, 12.1448)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772162 #217736
analogous
#612177 #772162 #772137
triadic
#772162 #627721 #216277
tetradic
#772162 #776121 #217736 #213777
square
#772162 #776121 #217736 #213777
split-complementary
#772162 #377721 #217761
monochromatic
#180714 #47143B #772162 #A72E89 #CC47AB

Accessibility & contrast

On white

9.64
#772162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#772162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772162
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772162#FFFFFF#000000##FFFFFF
##7721621.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772162;
/* rgb */ color: rgb(119, 33, 98);
/* oklch */ color: oklch(40.8% 0.140 339.2);
Tailwind
colors: {
  custom: {
    50: '#a1648f',
    500: '#772162',
    950: '#000000',
  },
}
SCSS
$custom: #772162;
$custom-light: #a1648f;
$custom-dark: #000000;
JSON
{
  "hex": "#772162",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 314.651,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.14045,
    "h": 339.2
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#772162
secondary
#4AAA61
accent
#E06D48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #772162

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

Preview Lab → · Contrast checker → · Palette generator →

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