#9B2D7E#9B2D7E

#9B2D7E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.169 H 340.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B2D7E
RGBrgb(155, 45, 126)
HSLhsl(316, 55%, 39%)
HSVhsv(316, 71%, 61%)
CMYKcmyk(0%, 71%, 18.7%, 39.2%)
CIE-LABlab(38.47, 53.53, -21.22)
CIE-LCHlch(38.47, 57.58, 338.37°)
OKLaboklab(49.19% 0.1595 -0.0572)
OKLCHoklch(49.19% 0.169 340.3)
XYZxyz(18.2223, 10.3534, 20.7733)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D7E #2D9B4A
analogous
#812D9B #9B2D7E #9B2D47
triadic
#9B2D7E #7E9B2D #2D7E9B
tetradic
#9B2D7E #9B812D #2D9B4A #2D479B
square
#9B2D7E #9B812D #2D9B4A #2D479B
split-complementary
#9B2D7E #479B2D #2D9B81
monochromatic
#3C1131 #6C1F57 #9B2D7E #C73EA3 #D56EBA

Accessibility & contrast

On white

6.84
#9B2D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2D7E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D7E#FFFFFF#000000##FFFFFF
##9B2D7E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2d7e;
/* rgb */ color: rgb(155, 45, 126);
/* oklch */ color: oklch(49.2% 0.169 340.3);
Tailwind
colors: {
  custom: {
    50: '#bc70a3',
    500: '#9b2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d7e;
$custom-light: #bc70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d7e",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 315.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.16945,
    "h": 340.3
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#9B2D7E
secondary
#68BC7E
accent
#DE7149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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