#9B2979#9B2979

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

Color values

HEX#9B2979
RGBrgb(155, 41, 121)
HSLhsl(318, 58%, 38%)
HSVhsv(318, 74%, 61%)
CMYKcmyk(0%, 73.5%, 21.9%, 39.2%)
CIE-LABlab(37.73, 54.27, -19.26)
CIE-LCHlch(37.73, 57.59, 340.46°)
OKLaboklab(48.58% 0.1631 -0.0516)
OKLCHoklch(48.58% 0.171 342.4)
XYZxyz(17.7623, 9.9367, 19.0680)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2979 #299B4B
analogous
#84299B #9B2979 #9B2940
triadic
#9B2979 #799B29 #29799B
tetradic
#9B2979 #9B8429 #299B4B #29409B
square
#9B2979 #9B8429 #299B4B #29409B
split-complementary
#9B2979 #409B29 #299B84
monochromatic
#3A0F2D #6B1C53 #9B2979 #CA379E #D767B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2979#FFFFFF#000000##FFFFFF
##9B29791.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)
#344D7B
Deuteranopia (green-blind)
#576076
Tritanopia (blue-blind)
#A52A4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2979;
/* rgb */ color: rgb(155, 41, 121);
/* oklch */ color: oklch(48.6% 0.171 342.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ea0',
    500: '#9b2979',
    950: '#000000',
  },
}
SCSS
$custom: #9b2979;
$custom-light: #bc6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2979",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 317.895,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.17103,
    "h": 342.4
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#9B2979
secondary
#63BD7E
accent
#E17546
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2979

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

Preview Lab → · Contrast checker → · Palette generator →

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