#9B2A72#9B2A72

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

Color values

HEX#9B2A72
RGBrgb(155, 42, 114)
HSLhsl(322, 57%, 39%)
HSVhsv(322, 73%, 61%)
CMYKcmyk(0%, 72.9%, 26.5%, 39.2%)
CIE-LABlab(37.56, 52.97, -15.15)
CIE-LCHlch(37.56, 55.09, 344.04°)
OKLaboklab(48.36% 0.1605 -0.0401)
OKLCHoklch(48.36% 0.165 346)
XYZxyz(17.3835, 9.8413, 16.9004)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A72 #2A9B53
analogous
#8B2A9B #9B2A72 #9B2A39
triadic
#9B2A72 #729B2A #2A729B
tetradic
#9B2A72 #9B8B2A #2A9B53 #2A399B
square
#9B2A72 #9B8B2A #2A9B53 #2A399B
split-complementary
#9B2A72 #399B2A #2A9B8B
monochromatic
#3B102B #6B1D4F #9B2A72 #C93995 #D669AF

Accessibility & contrast

On white

7.08
#9B2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A72
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A72#FFFFFF#000000##FFFFFF
##9B2A721.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#A6274A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2a72;
/* rgb */ color: rgb(155, 42, 114);
/* oklch */ color: oklch(48.4% 0.165 346.0);
Tailwind
colors: {
  custom: {
    50: '#bc6e9a',
    500: '#9b2a72',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a72;
$custom-light: #bc6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a72",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 321.77,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.16548,
    "h": 346
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#9B2A72
secondary
#64BD84
accent
#E17F47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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