#9B2D71#9B2D71

#9B2D71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.161 H 346.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9B2D71
RGBrgb(155, 45, 113)
HSLhsl(323, 55%, 39%)
HSVhsv(323, 71%, 61%)
CMYKcmyk(0%, 71%, 27.1%, 39.2%)
CIE-LABlab(37.91, 51.72, -13.97)
CIE-LCHlch(37.91, 53.58, 344.88°)
OKLaboklab(48.61% 0.1569 -0.0369)
OKLCHoklch(48.61% 0.161 346.8)
XYZxyz(17.4373, 10.0394, 16.6391)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D71 #2D9B57
analogous
#8E2D9B #9B2D71 #9B2D3A
triadic
#9B2D71 #719B2D #2D719B
tetradic
#9B2D71 #9B8E2D #2D9B57 #2D3A9B
square
#9B2D71 #9B8E2D #2D9B57 #2D3A9B
split-complementary
#9B2D71 #3A9B2D #2D9B8E
monochromatic
#3C112C #6C1F4E #9B2D71 #C73E93 #D56EAD

Accessibility & contrast

On white

6.98
#9B2D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9B2D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D71
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D71#FFFFFF#000000##FFFFFF
##9B2D711.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A62A4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2d71;
/* rgb */ color: rgb(155, 45, 113);
/* oklch */ color: oklch(48.6% 0.161 346.8);
Tailwind
colors: {
  custom: {
    50: '#bc6f9a',
    500: '#9b2d71',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d71;
$custom-light: #bc6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d71",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 322.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.16115,
    "h": 346.8
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#9B2D71
secondary
#68BC88
accent
#DE8249
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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