#9B2079#9B2079

#9B2079 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 342.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B2079
RGBrgb(155, 32, 121)
HSLhsl(317, 66%, 37%)
HSVhsv(317, 79%, 61%)
CMYKcmyk(0%, 79.4%, 21.9%, 39.2%)
CIE-LABlab(36.71, 57.16, -20.83)
CIE-LCHlch(36.71, 60.84, 339.98°)
OKLaboklab(47.85% 0.1719 -0.056)
OKLCHoklch(47.85% 0.181 342)
XYZxyz(17.4859, 9.3839, 18.9759)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2079 #209B42
analogous
#80209B #9B2079 #9B203C
triadic
#9B2079 #799B20 #20799B
tetradic
#9B2079 #9B8020 #209B42 #203C9B
square
#9B2079 #9B8020 #209B42 #203C9B
split-complementary
#9B2079 #3C9B20 #209B80
monochromatic
#360B2A #681651 #9B2079 #CE2AA1 #DD59B8

Accessibility & contrast

On white

7.30
#9B2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2079
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2079#FFFFFF#000000##FFFFFF
##9B20791.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A5224B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2079;
/* rgb */ color: rgb(155, 32, 121);
/* oklch */ color: oklch(47.8% 0.181 342.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aa0',
    500: '#9b2079',
    950: '#000000',
  },
}
SCSS
$custom: #9b2079;
$custom-light: #bc6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2079",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 316.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.18078,
    "h": 342
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#9B2079
secondary
#56C174
accent
#E96E3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2079

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

Preview Lab → · Contrast checker → · Palette generator →

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