#9B2071#9B2071

#9B2071 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.176 H 345.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9B2071
RGBrgb(155, 32, 113)
HSLhsl(320, 66%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 79.4%, 27.1%, 39.2%)
CIE-LABlab(36.36, 56.12, -16.35)
CIE-LCHlch(36.36, 58.45, 343.75°)
OKLaboklab(47.47% 0.1705 -0.0434)
OKLCHoklch(47.47% 0.176 345.7)
XYZxyz(17.0155, 9.1957, 16.4985)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2071 #209B4A
analogous
#88209B #9B2071 #9B2034
triadic
#9B2071 #719B20 #20719B
tetradic
#9B2071 #9B8820 #209B4A #20349B
square
#9B2071 #9B8820 #209B4A #20349B
split-complementary
#9B2071 #349B20 #209B88
monochromatic
#360B27 #68164C #9B2071 #CE2A96 #DD59B0

Accessibility & contrast

On white

7.40
#9B2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2071
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2071#FFFFFF#000000##FFFFFF
##9B20711.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A61D46
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b2071;
/* rgb */ color: rgb(155, 32, 113);
/* oklch */ color: oklch(47.5% 0.176 345.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9b2071',
    950: '#000000',
  },
}
SCSS
$custom: #9b2071;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2071",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 320.488,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47473,
    "c": 0.17593,
    "h": 345.7
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#9B2071
secondary
#56C17B
accent
#E9793F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2071

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

Preview Lab → · Contrast checker → · Palette generator →

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