#9D2388#9D2388

#9D2388 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.2% C 0.189 H 336.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D2388
RGBrgb(157, 35, 136)
HSLhsl(310, 64%, 38%)
HSVhsv(310, 78%, 62%)
CMYKcmyk(0%, 77.7%, 13.4%, 38.4%)
CIE-LABlab(38.11, 58.87, -27.94)
CIE-LCHlch(38.11, 65.16, 334.61°)
OKLaboklab(49.16% 0.1729 -0.0762)
OKLCHoklch(49.16% 0.189 336.2)
XYZxyz(18.9499, 10.1495, 24.2488)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2388 #239D38
analogous
#75239D #9D2388 #9D234B
triadic
#9D2388 #889D23 #23889D
tetradic
#9D2388 #9D7523 #239D38 #234B9D
square
#9D2388 #9D7523 #239D38 #234B9D
split-complementary
#9D2388 #4B9D23 #239D75
monochromatic
#390D31 #6B185D #9D2388 #CF2EB3 #DB5FC6

Accessibility & contrast

On white

6.93
#9D2388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2388
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2388#FFFFFF#000000##FFFFFF
##9D23881.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#516085
Tritanopia (blue-blind)
#A52C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2388;
/* rgb */ color: rgb(157, 35, 136);
/* oklch */ color: oklch(49.2% 0.189 336.2);
Tailwind
colors: {
  custom: {
    50: '#be6cab',
    500: '#9d2388',
    950: '#000000',
  },
}
SCSS
$custom: #9d2388;
$custom-light: #be6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2388",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 310.328,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.18896,
    "h": 336.2
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#9D2388
secondary
#5CC06D
accent
#E75E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2388

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

Preview Lab → · Contrast checker → · Palette generator →

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