#9D2A83#9D2A83

#9D2A83 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.178 H 338.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9D2A83
RGBrgb(157, 42, 131)
HSLhsl(314, 58%, 39%)
HSVhsv(314, 73%, 62%)
CMYKcmyk(0%, 73.2%, 16.6%, 38.4%)
CIE-LABlab(38.66, 55.86, -23.99)
CIE-LCHlch(38.66, 60.79, 336.76°)
OKLaboklab(49.48% 0.1656 -0.065)
OKLCHoklch(49.48% 0.178 338.6)
XYZxyz(18.8298, 10.4645, 22.4965)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A83 #2A9D44
analogous
#7E2A9D #9D2A83 #9D2A4A
triadic
#9D2A83 #839D2A #2A839D
tetradic
#9D2A83 #9D7E2A #2A9D44 #2A4A9D
square
#9D2A83 #9D7E2A #2A9D44 #2A4A9D
split-complementary
#9D2A83 #4A9D2A #2A9D7E
monochromatic
#3C1032 #6D1D5B #9D2A83 #CA3AAA #D76ABF

Accessibility & contrast

On white

6.79
#9D2A83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2A83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A83
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A83#FFFFFF#000000##FFFFFF
##9D2A831.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305085
Deuteranopia (green-blind)
#566180
Tritanopia (blue-blind)
#A62F53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2a83;
/* rgb */ color: rgb(157, 42, 131);
/* oklch */ color: oklch(49.5% 0.178 338.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fa7',
    500: '#9d2a83',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a83;
$custom-light: #bd6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a83",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 313.565,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.17785,
    "h": 338.6
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#9D2A83
secondary
#65BE79
accent
#E16A47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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