#9D2276#9D2276

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

Color values

HEX#9D2276
RGBrgb(157, 34, 118)
HSLhsl(319, 64%, 37%)
HSVhsv(319, 78%, 62%)
CMYKcmyk(0%, 78.3%, 24.8%, 38.4%)
CIE-LABlab(37.16, 56.66, -18.24)
CIE-LCHlch(37.16, 59.53, 342.16°)
OKLaboklab(48.19% 0.1714 -0.0487)
OKLCHoklch(48.19% 0.178 344.1)
XYZxyz(17.7474, 9.6221, 18.0586)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2276 #229D49
analogous
#86229D #9D2276 #9D2239
triadic
#9D2276 #769D22 #22769D
tetradic
#9D2276 #9D8622 #229D49 #22399D
square
#9D2276 #9D8622 #229D49 #22399D
split-complementary
#9D2276 #399D22 #229D86
monochromatic
#380C2A #6B1750 #9D2276 #CF2D9C #DC5DB4

Accessibility & contrast

On white

7.18
#9D2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2276
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2276#FFFFFF#000000##FFFFFF
##9D22761.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A78
Deuteranopia (green-blind)
#575F73
Tritanopia (blue-blind)
#A8214A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2276;
/* rgb */ color: rgb(157, 34, 118);
/* oklch */ color: oklch(48.2% 0.178 344.1);
Tailwind
colors: {
  custom: {
    50: '#be6b9d',
    500: '#9d2276',
    950: '#000000',
  },
}
SCSS
$custom: #9d2276;
$custom-light: #be6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2276",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 319.024,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.17821,
    "h": 344.1
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#9D2276
secondary
#5AC17B
accent
#E77540
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2276

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

Preview Lab → · Contrast checker → · Palette generator →

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