#9B2879#9B2879

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

Color values

HEX#9B2879
RGBrgb(155, 40, 121)
HSLhsl(318, 59%, 38%)
HSVhsv(318, 74%, 61%)
CMYKcmyk(0%, 74.2%, 21.9%, 39.2%)
CIE-LABlab(37.61, 54.62, -19.45)
CIE-LCHlch(37.61, 57.98, 340.40°)
OKLaboklab(48.49% 0.1641 -0.0522)
OKLCHoklch(48.49% 0.172 342.4)
XYZxyz(17.7282, 9.8684, 19.0566)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2879 #289B4A
analogous
#83289B #9B2879 #9B283F
triadic
#9B2879 #799B28 #28799B
tetradic
#9B2879 #9B8328 #289B4A #283F9B
square
#9B2879 #9B8328 #289B4A #283F9B
split-complementary
#9B2879 #3F9B28 #289B83
monochromatic
#3A0F2D #6A1B53 #9B2879 #CB359F #D766B6

Accessibility & contrast

On white

7.06
#9B2879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B2879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2879
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2879#FFFFFF#000000##FFFFFF
##9B28791.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A5294D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2879;
/* rgb */ color: rgb(155, 40, 121);
/* oklch */ color: oklch(48.5% 0.172 342.4);
Tailwind
colors: {
  custom: {
    50: '#bc6da0',
    500: '#9b2879',
    950: '#000000',
  },
}
SCSS
$custom: #9b2879;
$custom-light: #bc6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2879",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 317.739,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.17221,
    "h": 342.4
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#9B2879
secondary
#61BD7D
accent
#E27446
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2879

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

Preview Lab → · Contrast checker → · Palette generator →

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