#9D2771#9D2771

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

Color values

HEX#9D2771
RGBrgb(157, 39, 113)
HSLhsl(322, 60%, 38%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 75.2%, 28%, 38.4%)
CIE-LABlab(37.51, 54.43, -14.56)
CIE-LCHlch(37.51, 56.34, 345.02°)
OKLaboklab(48.38% 0.1655 -0.0385)
OKLCHoklch(48.38% 0.17 346.9)
XYZxyz(17.6116, 9.8133, 16.5863)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2771 #279D53
analogous
#8E279D #9D2771 #9D2736
triadic
#9D2771 #719D27 #27719D
tetradic
#9D2771 #9D8E27 #279D53 #27369D
square
#9D2771 #9D8E27 #279D53 #27369D
split-complementary
#9D2771 #369D27 #279D8E
monochromatic
#3B0F2A #6C1B4E #9D2771 #CD3594 #D966AE

Accessibility & contrast

On white

7.09
#9D2771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D2771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2771
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2771#FFFFFF#000000##FFFFFF
##9D27711.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A82349
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2771;
/* rgb */ color: rgb(157, 39, 113);
/* oklch */ color: oklch(48.4% 0.170 346.9);
Tailwind
colors: {
  custom: {
    50: '#be6d9a',
    500: '#9d2771',
    950: '#000000',
  },
}
SCSS
$custom: #9d2771;
$custom-light: #be6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2771",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 322.373,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.16989,
    "h": 346.9
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#9D2771
secondary
#61BF84
accent
#E38044
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2771

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

Preview Lab → · Contrast checker → · Palette generator →

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