#9D2285#9D2285

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

Color values

HEX#9D2285
RGBrgb(157, 34, 133)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 62%)
CMYKcmyk(0%, 78.3%, 15.3%, 38.4%)
CIE-LABlab(37.86, 58.73, -26.48)
CIE-LCHlch(37.86, 64.42, 335.73°)
OKLaboklab(48.92% 0.1735 -0.072)
OKLCHoklch(48.92% 0.188 337.5)
XYZxyz(18.7107, 10.0074, 23.1320)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2285 #229D3A
analogous
#77229D #9D2285 #9D2248
triadic
#9D2285 #859D22 #22859D
tetradic
#9D2285 #9D7722 #229D3A #22489D
square
#9D2285 #9D7722 #229D3A #22489D
split-complementary
#9D2285 #489D22 #229D77
monochromatic
#380C30 #6B175A #9D2285 #CF2DB0 #DC5DC3

Accessibility & contrast

On white

7.00
#9D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2285
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2285#FFFFFF#000000##FFFFFF
##9D22851.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#A62A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2285;
/* rgb */ color: rgb(157, 34, 133);
/* oklch */ color: oklch(48.9% 0.188 337.5);
Tailwind
colors: {
  custom: {
    50: '#be6ca9',
    500: '#9d2285',
    950: '#000000',
  },
}
SCSS
$custom: #9d2285;
$custom-light: #be6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2285",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 311.707,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.18789,
    "h": 337.5
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#9D2285
secondary
#5AC16E
accent
#E76140
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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