#9D3282#9D3282

#9D3282 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.167 H 339.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9D3282
RGBrgb(157, 50, 130)
HSLhsl(315, 52%, 41%)
HSVhsv(315, 68%, 62%)
CMYKcmyk(0%, 68.2%, 17.2%, 38.4%)
CIE-LABlab(39.69, 52.71, -21.78)
CIE-LCHlch(39.69, 57.04, 337.55°)
OKLaboklab(50.2% 0.1564 -0.0588)
OKLCHoklch(50.2% 0.167 339.4)
XYZxyz(19.0749, 11.0628, 22.2455)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3282 #329D4D
analogous
#82329D #9D3282 #9D324C
triadic
#9D3282 #829D32 #32829D
tetradic
#9D3282 #9D8232 #329D4D #324C9D
square
#9D3282 #9D8232 #329D4D #324C9D
split-complementary
#9D3282 #4C9D32 #329D82
monochromatic
#401435 #6F235C #9D3282 #C548A5 #D376BC

Accessibility & contrast

On white

6.54
#9D3282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9D3282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3282
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3282#FFFFFF#000000##FFFFFF
##9D32821.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#59647F
Tritanopia (blue-blind)
#A63555
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d3282;
/* rgb */ color: rgb(157, 50, 130);
/* oklch */ color: oklch(50.2% 0.167 339.4);
Tailwind
colors: {
  custom: {
    50: '#bd72a6',
    500: '#9d3282',
    950: '#000000',
  },
}
SCSS
$custom: #9d3282;
$custom-light: #bd72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3282",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 315.14,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.16707,
    "h": 339.4
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#9D3282
secondary
#6FBC82
accent
#DB714D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D3282

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

Preview Lab → · Contrast checker → · Palette generator →

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