#9D2386#9D2386

#9D2386 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 337.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D2386
RGBrgb(157, 35, 134)
HSLhsl(311, 64%, 38%)
HSVhsv(311, 78%, 62%)
CMYKcmyk(0%, 77.7%, 14.6%, 38.4%)
CIE-LABlab(38.01, 58.57, -26.86)
CIE-LCHlch(38.01, 64.44, 335.36°)
OKLaboklab(49.05% 0.1727 -0.0731)
OKLCHoklch(49.05% 0.188 337.1)
XYZxyz(18.8091, 10.0932, 23.5072)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2386 #239D3A
analogous
#77239D #9D2386 #9D2349
triadic
#9D2386 #869D23 #23869D
tetradic
#9D2386 #9D7723 #239D3A #23499D
square
#9D2386 #9D7723 #239D3A #23499D
split-complementary
#9D2386 #499D23 #239D77
monochromatic
#390D31 #6B185B #9D2386 #CF2EB1 #DB5FC4

Accessibility & contrast

On white

6.96
#9D2386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2386
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2386#FFFFFF#000000##FFFFFF
##9D23861.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A62B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2386;
/* rgb */ color: rgb(157, 35, 134);
/* oklch */ color: oklch(49.0% 0.188 337.1);
Tailwind
colors: {
  custom: {
    50: '#be6ca9',
    500: '#9d2386',
    950: '#000000',
  },
}
SCSS
$custom: #9d2386;
$custom-light: #be6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2386",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 311.311,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.18757,
    "h": 337.1
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#9D2386
secondary
#5CC06F
accent
#E76041
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2386

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

Preview Lab → · Contrast checker → · Palette generator →

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