#9D2B7E#9D2B7E

#9D2B7E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.173 H 340.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2B7E
RGBrgb(157, 43, 126)
HSLhsl(316, 57%, 39%)
HSVhsv(316, 73%, 62%)
CMYKcmyk(0%, 72.6%, 19.7%, 38.4%)
CIE-LABlab(38.56, 54.78, -21.06)
CIE-LCHlch(38.56, 58.69, 338.97°)
OKLaboklab(49.32% 0.1637 -0.0567)
OKLCHoklch(49.32% 0.173 340.9)
XYZxyz(18.5349, 10.4040, 20.7667)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B7E #2B9D4A
analogous
#832B9D #9D2B7E #9D2B45
triadic
#9D2B7E #7E9D2B #2B7E9D
tetradic
#9D2B7E #9D832B #2B9D4A #2B459D
square
#9D2B7E #9D832B #2B9D4A #2B459D
split-complementary
#9D2B7E #459D2B #2B9D83
monochromatic
#3D1131 #6D1E57 #9D2B7E #CA3CA3 #D76CBA

Accessibility & contrast

On white

6.82
#9D2B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B7E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B7E#FFFFFF#000000##FFFFFF
##9D2B7E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#A72E51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2b7e;
/* rgb */ color: rgb(157, 43, 126);
/* oklch */ color: oklch(49.3% 0.173 340.9);
Tailwind
colors: {
  custom: {
    50: '#be6fa3',
    500: '#9d2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b7e;
$custom-light: #be6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b7e",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 316.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49324,
    "c": 0.17327,
    "h": 340.9
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#9D2B7E
secondary
#66BD7E
accent
#E07148
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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