#772158#772158

#772158 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.134 H 345.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#772158
RGBrgb(119, 33, 88)
HSLhsl(322, 57%, 30%)
HSVhsv(322, 72%, 47%)
CMYKcmyk(0%, 72.3%, 26.1%, 53.3%)
CIE-LABlab(28.68, 42.76, -12.63)
CIE-LCHlch(28.68, 44.59, 343.55°)
OKLaboklab(40.28% 0.1293 -0.0335)
OKLCHoklch(40.28% 0.134 345.5)
XYZxyz(9.9135, 5.7153, 9.8117)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772158 #217740
analogous
#6B2177 #772158 #77212D
triadic
#772158 #587721 #215877
tetradic
#772158 #776B21 #217740 #212D77
square
#772158 #776B21 #217740 #212D77
split-complementary
#772158 #2D7721 #21776B
monochromatic
#180712 #471435 #772158 #A72E7B #CC479C

Accessibility & contrast

On white

9.80
#772158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772158
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772158#FFFFFF#000000##FFFFFF
##7721581.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A5A
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#7F2039
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #772158;
/* rgb */ color: rgb(119, 33, 88);
/* oklch */ color: oklch(40.3% 0.134 345.5);
Tailwind
colors: {
  custom: {
    50: '#a16487',
    500: '#772158',
    950: '#000000',
  },
}
SCSS
$custom: #772158;
$custom-light: #a16487;
$custom-dark: #000000;
JSON
{
  "hex": "#772158",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 321.628,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.13357,
    "h": 345.5
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#772158
secondary
#4AAA6C
accent
#E07F48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #772158

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

Preview Lab → · Contrast checker → · Palette generator →

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