#9D2772#9D2772

#9D2772 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.170 H 346.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9D2772
RGBrgb(157, 39, 114)
HSLhsl(322, 60%, 38%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 75.2%, 27.4%, 38.4%)
CIE-LABlab(37.55, 54.55, -15.13)
CIE-LCHlch(37.55, 56.61, 344.50°)
OKLaboklab(48.42% 0.1657 -0.0401)
OKLCHoklch(48.42% 0.17 346.4)
XYZxyz(17.6682, 9.8360, 16.8844)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2772 #279D52
analogous
#8D279D #9D2772 #9D2737
triadic
#9D2772 #729D27 #27729D
tetradic
#9D2772 #9D8D27 #279D52 #27379D
square
#9D2772 #9D8D27 #279D52 #27379D
split-complementary
#9D2772 #379D27 #279D8D
monochromatic
#3B0F2B #6C1B4E #9D2772 #CD3595 #D966AF

Accessibility & contrast

On white

7.08
#9D2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2772
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2772#FFFFFF#000000##FFFFFF
##9D27721.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#5A606F
Tritanopia (blue-blind)
#A82449
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2772;
/* rgb */ color: rgb(157, 39, 114);
/* oklch */ color: oklch(48.4% 0.170 346.4);
Tailwind
colors: {
  custom: {
    50: '#be6d9a',
    500: '#9d2772',
    950: '#000000',
  },
}
SCSS
$custom: #9d2772;
$custom-light: #be6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2772",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 321.864,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48418,
    "c": 0.17046,
    "h": 346.4
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#9D2772
secondary
#61BF83
accent
#E37E44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2772

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

Preview Lab → · Contrast checker → · Palette generator →

#9D2772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva