#9B2D7D#9B2D7D

#9B2D7D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.169 H 340.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2D7D
RGBrgb(155, 45, 125)
HSLhsl(316, 55%, 39%)
HSVhsv(316, 71%, 61%)
CMYKcmyk(0%, 71%, 19.4%, 39.2%)
CIE-LABlab(38.42, 53.38, -20.67)
CIE-LCHlch(38.42, 57.25, 338.83°)
OKLaboklab(49.15% 0.1593 -0.0556)
OKLCHoklch(49.15% 0.169 340.7)
XYZxyz(18.1581, 10.3278, 20.4352)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D7D #2D9B4B
analogous
#822D9B #9B2D7D #9B2D46
triadic
#9B2D7D #7D9B2D #2D7D9B
tetradic
#9B2D7D #9B822D #2D9B4B #2D469B
square
#9B2D7D #9B822D #2D9B4B #2D469B
split-complementary
#9B2D7D #469B2D #2D9B82
monochromatic
#3C1131 #6C1F57 #9B2D7D #C73EA2 #D56EB9

Accessibility & contrast

On white

6.85
#9B2D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D7D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D7D#FFFFFF#000000##FFFFFF
##9B2D7D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A43051
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2d7d;
/* rgb */ color: rgb(155, 45, 125);
/* oklch */ color: oklch(49.1% 0.169 340.7);
Tailwind
colors: {
  custom: {
    50: '#bc70a3',
    500: '#9b2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d7d;
$custom-light: #bc70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d7d",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 316.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.16877,
    "h": 340.7
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#9B2D7D
secondary
#68BC7F
accent
#DE7249
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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