#9D2277#9D2277

#9D2277 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 343.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D2277
RGBrgb(157, 34, 119)
HSLhsl(319, 64%, 37%)
HSVhsv(319, 78%, 62%)
CMYKcmyk(0%, 78.3%, 24.2%, 38.4%)
CIE-LABlab(37.20, 56.79, -18.80)
CIE-LCHlch(37.20, 59.82, 341.69°)
OKLaboklab(48.24% 0.1716 -0.0503)
OKLCHoklch(48.24% 0.179 343.7)
XYZxyz(17.8071, 9.6460, 18.3733)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2277 #229D48
analogous
#86229D #9D2277 #9D2239
triadic
#9D2277 #779D22 #22779D
tetradic
#9D2277 #9D8622 #229D48 #22399D
square
#9D2277 #9D8622 #229D48 #22399D
split-complementary
#9D2277 #399D22 #229D86
monochromatic
#380C2B #6B1751 #9D2277 #CF2D9D #DC5DB5

Accessibility & contrast

On white

7.17
#9D2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2277
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2277#FFFFFF#000000##FFFFFF
##9D22771.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B79
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#A8224A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2277;
/* rgb */ color: rgb(157, 34, 119);
/* oklch */ color: oklch(48.2% 0.179 343.7);
Tailwind
colors: {
  custom: {
    50: '#be6b9e',
    500: '#9d2277',
    950: '#000000',
  },
}
SCSS
$custom: #9d2277;
$custom-light: #be6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2277",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 318.537,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.17882,
    "h": 343.7
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#9D2277
secondary
#5AC17A
accent
#E77440
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2277

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

Preview Lab → · Contrast checker → · Palette generator →

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