#9B2971#9B2971

#9B2971 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.166 H 346.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9B2971
RGBrgb(155, 41, 113)
HSLhsl(322, 58%, 38%)
HSVhsv(322, 74%, 61%)
CMYKcmyk(0%, 73.5%, 27.1%, 39.2%)
CIE-LABlab(37.39, 53.20, -14.78)
CIE-LCHlch(37.39, 55.21, 344.48°)
OKLaboklab(48.22% 0.1614 -0.0391)
OKLCHoklch(48.22% 0.166 346.4)
XYZxyz(17.2919, 9.7486, 16.5906)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2971 #299B53
analogous
#8C299B #9B2971 #9B2938
triadic
#9B2971 #719B29 #29719B
tetradic
#9B2971 #9B8C29 #299B53 #29389B
square
#9B2971 #9B8C29 #299B53 #29389B
split-complementary
#9B2971 #389B29 #299B8C
monochromatic
#3A0F2A #6B1C4E #9B2971 #CA3794 #D767AE

Accessibility & contrast

On white

7.12
#9B2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B2971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2971
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2971#FFFFFF#000000##FFFFFF
##9B29711.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A62649
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2971;
/* rgb */ color: rgb(155, 41, 113);
/* oklch */ color: oklch(48.2% 0.166 346.4);
Tailwind
colors: {
  custom: {
    50: '#bc6d9a',
    500: '#9b2971',
    950: '#000000',
  },
}
SCSS
$custom: #9b2971;
$custom-light: #bc6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2971",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 322.105,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48221,
    "c": 0.1661,
    "h": 346.4
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#9B2971
secondary
#63BD84
accent
#E18046
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2971

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

Preview Lab → · Contrast checker → · Palette generator →

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