#9B2179#9B2179

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

Color values

HEX#9B2179
RGBrgb(155, 33, 121)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 61%)
CMYKcmyk(0%, 78.7%, 21.9%, 39.2%)
CIE-LABlab(36.82, 56.87, -20.67)
CIE-LCHlch(36.82, 60.51, 340.02°)
OKLaboklab(47.92% 0.171 -0.0555)
OKLCHoklch(47.92% 0.18 342)
XYZxyz(17.5132, 9.4386, 18.9850)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2179 #219B43
analogous
#80219B #9B2179 #9B213C
triadic
#9B2179 #799B21 #21799B
tetradic
#9B2179 #9B8021 #219B43 #213C9B
square
#9B2179 #9B8021 #219B43 #213C9B
split-complementary
#9B2179 #3C9B21 #219B80
monochromatic
#360C2A #691652 #9B2179 #CD2CA0 #DC5AB8

Accessibility & contrast

On white

7.27
#9B2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2179
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2179#FFFFFF#000000##FFFFFF
##9B21791.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A5234B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2179;
/* rgb */ color: rgb(155, 33, 121);
/* oklch */ color: oklch(47.9% 0.180 342.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aa0',
    500: '#9b2179',
    950: '#000000',
  },
}
SCSS
$custom: #9b2179;
$custom-light: #bc6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2179",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 316.721,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.1798,
    "h": 342
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#9B2179
secondary
#58C075
accent
#E86F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2179

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

Preview Lab → · Contrast checker → · Palette generator →

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