#9B2A77#9B2A77

#9B2A77 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.169 H 343.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B2A77
RGBrgb(155, 42, 119)
HSLhsl(319, 57%, 39%)
HSVhsv(319, 73%, 61%)
CMYKcmyk(0%, 72.9%, 23.2%, 39.2%)
CIE-LABlab(37.77, 53.64, -17.95)
CIE-LCHlch(37.77, 56.57, 341.50°)
OKLaboklab(48.58% 0.1616 -0.048)
OKLCHoklch(48.58% 0.169 343.5)
XYZxyz(17.6759, 9.9582, 18.4404)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A77 #2A9B4E
analogous
#862A9B #9B2A77 #9B2A3E
triadic
#9B2A77 #779B2A #2A779B
tetradic
#9B2A77 #9B862A #2A9B4E #2A3E9B
square
#9B2A77 #9B862A #2A9B4E #2A3E9B
split-complementary
#9B2A77 #3E9B2A #2A9B86
monochromatic
#3B102D #6B1D52 #9B2A77 #C9399B #D669B4

Accessibility & contrast

On white

7.02
#9B2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2A77
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A77#FFFFFF#000000##FFFFFF
##9B2A771.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#586074
Tritanopia (blue-blind)
#A52A4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2a77;
/* rgb */ color: rgb(155, 42, 119);
/* oklch */ color: oklch(48.6% 0.169 343.5);
Tailwind
colors: {
  custom: {
    50: '#bc6e9e',
    500: '#9b2a77',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a77;
$custom-light: #bc6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a77",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 319.115,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.16856,
    "h": 343.5
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#9B2A77
secondary
#64BD80
accent
#E17847
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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