#9B2F71#9B2F71

#9B2F71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.159 H 347.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B2F71
RGBrgb(155, 47, 113)
HSLhsl(323, 53%, 40%)
HSVhsv(323, 70%, 61%)
CMYKcmyk(0%, 69.7%, 27.1%, 39.2%)
CIE-LABlab(38.19, 50.95, -13.55)
CIE-LCHlch(38.19, 52.72, 345.11°)
OKLaboklab(48.81% 0.1545 -0.0358)
OKLCHoklch(48.81% 0.159 347)
XYZxyz(17.5155, 10.1957, 16.6651)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F71 #2F9B59
analogous
#8F2F9B #9B2F71 #9B2F3B
triadic
#9B2F71 #719B2F #2F719B
tetradic
#9B2F71 #9B8F2F #2F9B59 #2F3B9B
square
#9B2F71 #9B8F2F #2F9B59 #2F3B9B
split-complementary
#9B2F71 #3B9B2F #2F9B8F
monochromatic
#3D132D #6C214F #9B2F71 #C64292 #D471AD

Accessibility & contrast

On white

6.91
#9B2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F71
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F71#FFFFFF#000000##FFFFFF
##9B2F711.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#5C616E
Tritanopia (blue-blind)
#A62C4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2f71;
/* rgb */ color: rgb(155, 47, 113);
/* oklch */ color: oklch(48.8% 0.159 347.0);
Tailwind
colors: {
  custom: {
    50: '#bc709a',
    500: '#9b2f71',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f71;
$custom-light: #bc709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f71",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 323.333,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.15855,
    "h": 347
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#9B2F71
secondary
#6ABB8A
accent
#DD844B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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