#9D2E83#9D2E83

#9D2E83 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.173 H 338.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9D2E83
RGBrgb(157, 46, 131)
HSLhsl(314, 55%, 40%)
HSVhsv(314, 71%, 62%)
CMYKcmyk(0%, 70.7%, 16.6%, 38.4%)
CIE-LABlab(39.18, 54.41, -23.19)
CIE-LCHlch(39.18, 59.15, 336.92°)
OKLaboklab(49.85% 0.1612 -0.0627)
OKLCHoklch(49.85% 0.173 338.7)
XYZxyz(18.9788, 10.7625, 22.5462)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E83 #2E9D48
analogous
#802E9D #9D2E83 #9D2E4C
triadic
#9D2E83 #839D2E #2E839D
tetradic
#9D2E83 #9D802E #2E9D48 #2E4C9D
square
#9D2E83 #9D802E #2E9D48 #2E4C9D
split-complementary
#9D2E83 #4C9D2E #2E9D80
monochromatic
#3E1234 #6E205C #9D2E83 #C741A8 #D570BE

Accessibility & contrast

On white

6.66
#9D2E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2E83
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E83#FFFFFF#000000##FFFFFF
##9D2E831.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335185
Deuteranopia (green-blind)
#576380
Tritanopia (blue-blind)
#A63254
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2e83;
/* rgb */ color: rgb(157, 46, 131);
/* oklch */ color: oklch(49.8% 0.173 338.7);
Tailwind
colors: {
  custom: {
    50: '#bd71a7',
    500: '#9d2e83',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e83;
$custom-light: #bd71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e83",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 314.054,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.17298,
    "h": 338.7
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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