#9D2284#9D2284

#9D2284 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 337.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D2284
RGBrgb(157, 34, 132)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 62%)
CMYKcmyk(0%, 78.3%, 15.9%, 38.4%)
CIE-LABlab(37.81, 58.58, -25.94)
CIE-LCHlch(37.81, 64.07, 336.11°)
OKLaboklab(48.87% 0.1734 -0.0705)
OKLCHoklch(48.87% 0.187 337.9)
XYZxyz(18.6419, 9.9799, 22.7699)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2284 #229D3B
analogous
#78229D #9D2284 #9D2247
triadic
#9D2284 #849D22 #22849D
tetradic
#9D2284 #9D7822 #229D3B #22479D
square
#9D2284 #9D7822 #229D3B #22479D
split-complementary
#9D2284 #479D22 #229D78
monochromatic
#380C2F #6B175A #9D2284 #CF2DAE #DC5DC2

Accessibility & contrast

On white

7.01
#9D2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9D2284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2284
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2284#FFFFFF#000000##FFFFFF
##9D22841.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#526081
Tritanopia (blue-blind)
#A62951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2284;
/* rgb */ color: rgb(157, 34, 132);
/* oklch */ color: oklch(48.9% 0.187 337.9);
Tailwind
colors: {
  custom: {
    50: '#be6ca8',
    500: '#9d2284',
    950: '#000000',
  },
}
SCSS
$custom: #9d2284;
$custom-light: #be6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2284",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 312.195,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.18721,
    "h": 337.9
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#9D2284
secondary
#5AC16F
accent
#E76240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D2284

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

Preview Lab → · Contrast checker → · Palette generator →

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