#9B2B79#9B2B79

#9B2B79 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.169 H 342.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9B2B79
RGBrgb(155, 43, 121)
HSLhsl(318, 57%, 39%)
HSVhsv(318, 72%, 61%)
CMYKcmyk(0%, 72.3%, 21.9%, 39.2%)
CIE-LABlab(37.98, 53.56, -18.87)
CIE-LCHlch(37.98, 56.78, 340.59°)
OKLaboklab(48.77% 0.1609 -0.0505)
OKLCHoklch(48.77% 0.169 342.6)
XYZxyz(17.8332, 10.0786, 19.0916)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B79 #2B9B4D
analogous
#852B9B #9B2B79 #9B2B41
triadic
#9B2B79 #799B2B #2B799B
tetradic
#9B2B79 #9B852B #2B9B4D #2B419B
square
#9B2B79 #9B852B #2B9B4D #2B419B
split-complementary
#9B2B79 #419B2B #2B9B85
monochromatic
#3B102E #6B1E54 #9B2B79 #C93B9D #D66BB5

Accessibility & contrast

On white

6.96
#9B2B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9B2B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B79
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B79#FFFFFF#000000##FFFFFF
##9B2B791.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A52C4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2b79;
/* rgb */ color: rgb(155, 43, 121);
/* oklch */ color: oklch(48.8% 0.169 342.6);
Tailwind
colors: {
  custom: {
    50: '#bc6fa0',
    500: '#9b2b79',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b79;
$custom-light: #bc6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b79",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 318.214,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.16862,
    "h": 342.6
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#9B2B79
secondary
#65BC80
accent
#E07648
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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