#9D2C83#9D2C83

#9D2C83 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.175 H 338.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D2C83
RGBrgb(157, 44, 131)
HSLhsl(314, 56%, 39%)
HSVhsv(314, 72%, 62%)
CMYKcmyk(0%, 72%, 16.6%, 38.4%)
CIE-LABlab(38.92, 55.15, -23.60)
CIE-LCHlch(38.92, 59.98, 336.84°)
OKLaboklab(49.66% 0.1634 -0.0639)
OKLCHoklch(49.66% 0.175 338.6)
XYZxyz(18.9025, 10.6099, 22.5207)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C83 #2C9D46
analogous
#7F2C9D #9D2C83 #9D2C4B
triadic
#9D2C83 #839D2C #2C839D
tetradic
#9D2C83 #9D7F2C #2C9D46 #2C4B9D
square
#9D2C83 #9D7F2C #2C9D46 #2C4B9D
split-complementary
#9D2C83 #4B9D2C #2C9D7F
monochromatic
#3D1133 #6D1F5B #9D2C83 #C93DA9 #D66DBE

Accessibility & contrast

On white

6.73
#9D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D2C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C83
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C83#FFFFFF#000000##FFFFFF
##9D2C831.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325085
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#A63154
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2c83;
/* rgb */ color: rgb(157, 44, 131);
/* oklch */ color: oklch(49.7% 0.175 338.6);
Tailwind
colors: {
  custom: {
    50: '#bd70a7',
    500: '#9d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c83;
$custom-light: #bd70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c83",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 313.805,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.17546,
    "h": 338.6
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#9D2C83
secondary
#68BD7B
accent
#E06B48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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