#9D2B8A#9D2B8A

#9D2B8A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.182 H 335.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9D2B8A
RGBrgb(157, 43, 138)
HSLhsl(310, 57%, 39%)
HSVhsv(310, 73%, 62%)
CMYKcmyk(0%, 72.6%, 12.1%, 38.4%)
CIE-LABlab(39.13, 56.56, -27.57)
CIE-LCHlch(39.13, 62.92, 334.01°)
OKLaboklab(49.92% 0.1653 -0.0752)
OKLCHoklch(49.92% 0.182 335.5)
XYZxyz(19.3562, 10.7325, 25.0920)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B8A #2B9D3E
analogous
#772B9D #9D2B8A #9D2B51
triadic
#9D2B8A #8A9D2B #2B8A9D
tetradic
#9D2B8A #9D772B #2B9D3E #2B519D
square
#9D2B8A #9D772B #2B9D3E #2B519D
split-complementary
#9D2B8A #519D2B #2B9D77
monochromatic
#3D1136 #6D1E60 #9D2B8A #CA3CB2 #D76CC5

Accessibility & contrast

On white

6.67
#9D2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B8A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B8A#FFFFFF#000000##FFFFFF
##9D2B8A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#A53357
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2b8a;
/* rgb */ color: rgb(157, 43, 138);
/* oklch */ color: oklch(49.9% 0.182 335.5);
Tailwind
colors: {
  custom: {
    50: '#bd6fac',
    500: '#9d2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b8a;
$custom-light: #bd6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b8a",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 310,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49921,
    "c": 0.18164,
    "h": 335.5
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#9D2B8A
secondary
#66BD75
accent
#E06148
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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