#9D2E88#9D2E88

#9D2E88 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.177 H 336.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9D2E88
RGBrgb(157, 46, 136)
HSLhsl(311, 55%, 40%)
HSVhsv(311, 71%, 62%)
CMYKcmyk(0%, 70.7%, 13.4%, 38.4%)
CIE-LABlab(39.41, 55.16, -25.90)
CIE-LCHlch(39.41, 60.94, 334.85°)
OKLaboklab(50.1% 0.1619 -0.0704)
OKLCHoklch(50.1% 0.177 336.5)
XYZxyz(19.3259, 10.9014, 24.3741)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E88 #2E9D43
analogous
#7A2E9D #9D2E88 #9D2E51
triadic
#9D2E88 #889D2E #2E889D
tetradic
#9D2E88 #9D7A2E #2E9D43 #2E519D
square
#9D2E88 #9D7A2E #2E9D43 #2E519D
split-complementary
#9D2E88 #519D2E #2E9D7A
monochromatic
#3E1236 #6E205F #9D2E88 #C741AE #D570C2

Accessibility & contrast

On white

6.60
#9D2E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D2E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E88
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E88#FFFFFF#000000##FFFFFF
##9D2E881.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528B
Deuteranopia (green-blind)
#556385
Tritanopia (blue-blind)
#A53557
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2e88;
/* rgb */ color: rgb(157, 46, 136);
/* oklch */ color: oklch(50.1% 0.177 336.5);
Tailwind
colors: {
  custom: {
    50: '#bd71ab',
    500: '#9d2e88',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e88;
$custom-light: #bd71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e88",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 311.351,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.17655,
    "h": 336.5
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#9D2E88
secondary
#6ABD7A
accent
#DE664A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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