#9D2E82#9D2E82

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

Color values

HEX#9D2E82
RGBrgb(157, 46, 130)
HSLhsl(315, 55%, 40%)
HSVhsv(315, 71%, 62%)
CMYKcmyk(0%, 70.7%, 17.2%, 38.4%)
CIE-LABlab(39.13, 54.26, -22.64)
CIE-LCHlch(39.13, 58.80, 337.35°)
OKLaboklab(49.8% 0.161 -0.0612)
OKLCHoklch(49.8% 0.172 339.2)
XYZxyz(18.9113, 10.7356, 22.1910)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E82 #2E9D49
analogous
#812E9D #9D2E82 #9D2E4A
triadic
#9D2E82 #829D2E #2E829D
tetradic
#9D2E82 #9D812E #2E9D49 #2E4A9D
square
#9D2E82 #9D812E #2E9D49 #2E4A9D
split-complementary
#9D2E82 #4A9D2E #2E9D81
monochromatic
#3E1234 #6E205B #9D2E82 #C741A7 #D570BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2E82#FFFFFF#000000##FFFFFF
##9D2E821.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)
#345184
Deuteranopia (green-blind)
#58627F
Tritanopia (blue-blind)
#A63254
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2e82;
/* rgb */ color: rgb(157, 46, 130);
/* oklch */ color: oklch(49.8% 0.172 339.2);
Tailwind
colors: {
  custom: {
    50: '#bd71a6',
    500: '#9d2e82',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e82;
$custom-light: #bd71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e82",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 314.595,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.498,
    "c": 0.17228,
    "h": 339.2
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#9D2E82
secondary
#6ABD7E
accent
#DE6E4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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