#772168#772168

#772168 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.145 H 335.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#772168
RGBrgb(119, 33, 104)
HSLhsl(310, 57%, 30%)
HSVhsv(310, 72%, 47%)
CMYKcmyk(0%, 72.3%, 12.6%, 53.3%)
CIE-LABlab(29.44, 45.20, -21.86)
CIE-LCHlch(29.44, 50.21, 334.19°)
OKLaboklab(41.08% 0.1322 -0.0596)
OKLCHoklch(41.08% 0.145 335.7)
XYZxyz(10.6504, 6.0101, 13.6931)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772168 #217730
analogous
#5B2177 #772168 #77213D
triadic
#772168 #687721 #216877
tetradic
#772168 #775B21 #217730 #213D77
square
#772168 #775B21 #217730 #213D77
split-complementary
#772168 #3D7721 #21775B
monochromatic
#180715 #47143E #772168 #A72E92 #CC47B5

Accessibility & contrast

On white

9.54
#772168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#772168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772168
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772168#FFFFFF#000000##FFFFFF
##7721681.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#7D2741
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #772168;
/* rgb */ color: rgb(119, 33, 104);
/* oklch */ color: oklch(41.1% 0.145 335.7);
Tailwind
colors: {
  custom: {
    50: '#a16593',
    500: '#772168',
    950: '#000000',
  },
}
SCSS
$custom: #772168;
$custom-light: #a16593;
$custom-dark: #000000;
JSON
{
  "hex": "#772168",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 310.465,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41079,
    "c": 0.14498,
    "h": 335.7
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#772168
secondary
#4AAA5A
accent
#E06248
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #772168

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

Preview Lab → · Contrast checker → · Palette generator →

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