#9B2A71#9B2A71

#9B2A71 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.165 H 346.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9B2A71
RGBrgb(155, 42, 113)
HSLhsl(322, 57%, 39%)
HSVhsv(322, 73%, 61%)
CMYKcmyk(0%, 72.9%, 27.1%, 39.2%)
CIE-LABlab(37.51, 52.84, -14.58)
CIE-LCHlch(37.51, 54.81, 344.57°)
OKLaboklab(48.31% 0.1603 -0.0386)
OKLCHoklch(48.31% 0.165 346.5)
XYZxyz(17.3269, 9.8186, 16.6023)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A71 #2A9B54
analogous
#8C2A9B #9B2A71 #9B2A38
triadic
#9B2A71 #719B2A #2A719B
tetradic
#9B2A71 #9B8C2A #2A9B54 #2A389B
square
#9B2A71 #9B8C2A #2A9B54 #2A389B
split-complementary
#9B2A71 #389B2A #2A9B8C
monochromatic
#3B102B #6B1D4E #9B2A71 #C93994 #D669AE

Accessibility & contrast

On white

7.09
#9B2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A71
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A71#FFFFFF#000000##FFFFFF
##9B2A711.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2a71;
/* rgb */ color: rgb(155, 42, 113);
/* oklch */ color: oklch(48.3% 0.165 346.5);
Tailwind
colors: {
  custom: {
    50: '#bc6e9a',
    500: '#9b2a71',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a71;
$custom-light: #bc6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a71",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 322.301,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48314,
    "c": 0.1649,
    "h": 346.5
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#9B2A71
secondary
#64BD85
accent
#E18047
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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