#9B2D7B#9B2D7B

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

Color values

HEX#9B2D7B
RGBrgb(155, 45, 123)
HSLhsl(317, 55%, 39%)
HSVhsv(317, 71%, 61%)
CMYKcmyk(0%, 71%, 20.6%, 39.2%)
CIE-LABlab(38.34, 53.10, -19.57)
CIE-LCHlch(38.34, 56.59, 339.77°)
OKLaboklab(49.05% 0.159 -0.0525)
OKLCHoklch(49.05% 0.167 341.7)
XYZxyz(18.0317, 10.2772, 19.7691)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D7B #2D9B4D
analogous
#842D9B #9B2D7B #9B2D44
triadic
#9B2D7B #7B9B2D #2D7B9B
tetradic
#9B2D7B #9B842D #2D9B4D #2D449B
square
#9B2D7B #9B842D #2D9B4D #2D449B
split-complementary
#9B2D7B #449B2D #2D9B84
monochromatic
#3C1130 #6C1F55 #9B2D7B #C73E9F #D56EB7

Accessibility & contrast

On white

6.87
#9B2D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D7B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D7B#FFFFFF#000000##FFFFFF
##9B2D7B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#586178
Tritanopia (blue-blind)
#A52F50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2d7b;
/* rgb */ color: rgb(155, 45, 123);
/* oklch */ color: oklch(49.1% 0.167 341.7);
Tailwind
colors: {
  custom: {
    50: '#bc70a1',
    500: '#9b2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d7b;
$custom-light: #bc70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d7b",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 317.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.16743,
    "h": 341.7
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#9B2D7B
secondary
#68BC80
accent
#DE7549
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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