#9B2E71#9B2E71

#9B2E71 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.160 H 346.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9B2E71
RGBrgb(155, 46, 113)
HSLhsl(323, 54%, 39%)
HSVhsv(323, 70%, 61%)
CMYKcmyk(0%, 70.3%, 27.1%, 39.2%)
CIE-LABlab(38.05, 51.34, -13.76)
CIE-LCHlch(38.05, 53.15, 344.99°)
OKLaboklab(48.71% 0.1557 -0.0363)
OKLCHoklch(48.71% 0.16 346.9)
XYZxyz(17.4760, 10.1167, 16.6519)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E71 #2E9B58
analogous
#8F2E9B #9B2E71 #9B2E3B
triadic
#9B2E71 #719B2E #2E719B
tetradic
#9B2E71 #9B8F2E #2E9B58 #2E3B9B
square
#9B2E71 #9B8F2E #2E9B58 #2E3B9B
split-complementary
#9B2E71 #3B9B2E #2E9B8F
monochromatic
#3D122C #6C204F #9B2E71 #C64093 #D46FAD

Accessibility & contrast

On white

6.95
#9B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9B2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E71
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E71#FFFFFF#000000##FFFFFF
##9B2E711.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#5C606E
Tritanopia (blue-blind)
#A62B4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2e71;
/* rgb */ color: rgb(155, 46, 113);
/* oklch */ color: oklch(48.7% 0.160 346.9);
Tailwind
colors: {
  custom: {
    50: '#bc709a',
    500: '#9b2e71',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e71;
$custom-light: #bc709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e71",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 323.119,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.15986,
    "h": 346.9
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#9B2E71
secondary
#69BC89
accent
#DE834A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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