#9B2A76#9B2A76

#9B2A76 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.168 H 344.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9B2A76
RGBrgb(155, 42, 118)
HSLhsl(320, 57%, 39%)
HSVhsv(320, 73%, 61%)
CMYKcmyk(0%, 72.9%, 23.9%, 39.2%)
CIE-LABlab(37.72, 53.51, -17.39)
CIE-LCHlch(37.72, 56.26, 341.99°)
OKLaboklab(48.54% 0.1614 -0.0464)
OKLCHoklch(48.54% 0.168 344)
XYZxyz(17.6162, 9.9343, 18.1258)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A76 #2A9B4F
analogous
#872A9B #9B2A76 #9B2A3D
triadic
#9B2A76 #769B2A #2A769B
tetradic
#9B2A76 #9B872A #2A9B4F #2A3D9B
square
#9B2A76 #9B872A #2A9B4F #2A3D9B
split-complementary
#9B2A76 #3D9B2A #2A9B87
monochromatic
#3B102D #6B1D51 #9B2A76 #C9399A #D669B3

Accessibility & contrast

On white

7.03
#9B2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A76
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A76#FFFFFF#000000##FFFFFF
##9B2A761.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#A5294C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2a76;
/* rgb */ color: rgb(155, 42, 118);
/* oklch */ color: oklch(48.5% 0.168 344.0);
Tailwind
colors: {
  custom: {
    50: '#bc6e9d',
    500: '#9b2a76',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a76;
$custom-light: #bc6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a76",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 319.646,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.16793,
    "h": 344
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#9B2A76
secondary
#64BD81
accent
#E17947
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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