#9B2873#9B2873

#9B2873 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.168 H 345.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9B2873
RGBrgb(155, 40, 115)
HSLhsl(321, 59%, 38%)
HSVhsv(321, 74%, 61%)
CMYKcmyk(0%, 74.2%, 25.8%, 39.2%)
CIE-LABlab(37.35, 53.81, -16.10)
CIE-LCHlch(37.35, 56.17, 343.35°)
OKLaboklab(48.22% 0.163 -0.0428)
OKLCHoklch(48.22% 0.168 345.3)
XYZxyz(17.3716, 9.7258, 17.1788)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2873 #289B50
analogous
#89289B #9B2873 #9B2839
triadic
#9B2873 #739B28 #28739B
tetradic
#9B2873 #9B8928 #289B50 #28399B
square
#9B2873 #9B8928 #289B50 #28399B
split-complementary
#9B2873 #399B28 #289B89
monochromatic
#3A0F2B #6A1B4F #9B2873 #CB3597 #D766B0

Accessibility & contrast

On white

7.13
#9B2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B2873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2873
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2873#FFFFFF#000000##FFFFFF
##9B28731.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#A6264A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2873;
/* rgb */ color: rgb(155, 40, 115);
/* oklch */ color: oklch(48.2% 0.168 345.3);
Tailwind
colors: {
  custom: {
    50: '#bc6d9b',
    500: '#9b2873',
    950: '#000000',
  },
}
SCSS
$custom: #9b2873;
$custom-light: #bc6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2873",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 320.87,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48218,
    "c": 0.16847,
    "h": 345.3
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#9B2873
secondary
#61BD81
accent
#E27C46
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2873

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

Preview Lab → · Contrast checker → · Palette generator →

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