#9B2F89#9B2F89

#9B2F89 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.175 H 335.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9B2F89
RGBrgb(155, 47, 137)
HSLhsl(310, 53%, 40%)
HSVhsv(310, 70%, 61%)
CMYKcmyk(0%, 69.7%, 11.6%, 39.2%)
CIE-LABlab(39.26, 54.43, -26.78)
CIE-LCHlch(39.26, 60.66, 333.80°)
OKLaboklab(49.93% 0.1588 -0.073)
OKLCHoklch(49.93% 0.175 335.3)
XYZxyz(19.0497, 10.8094, 24.7452)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F89 #2F9B41
analogous
#772F9B #9B2F89 #9B2F53
triadic
#9B2F89 #899B2F #2F899B
tetradic
#9B2F89 #9B772F #2F9B41 #2F539B
square
#9B2F89 #9B772F #2F9B41 #2F539B
split-complementary
#9B2F89 #539B2F #2F9B77
monochromatic
#3D1336 #6C215F #9B2F89 #C642B0 #D471C3

Accessibility & contrast

On white

6.64
#9B2F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B2F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F89
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F89#FFFFFF#000000##FFFFFF
##9B2F891.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#546286
Tritanopia (blue-blind)
#A33758
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2f89;
/* rgb */ color: rgb(155, 47, 137);
/* oklch */ color: oklch(49.9% 0.175 335.3);
Tailwind
colors: {
  custom: {
    50: '#bc71ab',
    500: '#9b2f89',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f89;
$custom-light: #bc71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f89",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 310,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.17477,
    "h": 335.3
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#9B2F89
secondary
#6ABB78
accent
#DD634B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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