#9B2047#9B2047

#9B2047 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.159 H 7.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9B2047
RGBrgb(155, 32, 71)
HSLhsl(341, 66%, 37%)
HSVhsv(341, 79%, 61%)
CMYKcmyk(0%, 79.4%, 54.2%, 39.2%)
CIE-LABlab(34.92, 51.75, 8.47)
CIE-LCHlch(34.92, 52.44, 9.29°)
OKLaboklab(45.95% 0.1576 0.0217)
OKLCHoklch(45.95% 0.159 7.8)
XYZxyz(15.1728, 8.4587, 6.7937)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2047 #209B74
analogous
#9B2085 #9B2047 #9B3720
triadic
#9B2047 #479B20 #20479B
tetradic
#9B2047 #859B20 #209B74 #37209B
square
#9B2047 #859B20 #209B74 #37209B
split-complementary
#9B2047 #209B37 #20859B
monochromatic
#360B19 #681630 #9B2047 #CE2A5E #DD5983

Accessibility & contrast

On white

7.80
#9B2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9B2047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2047
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2047#FFFFFF#000000##FFFFFF
##9B20471.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414248
Deuteranopia (green-blind)
#615B44
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b2047;
/* rgb */ color: rgb(155, 32, 71);
/* oklch */ color: oklch(46.0% 0.159 7.8);
Tailwind
colors: {
  custom: {
    50: '#bf6879',
    500: '#9b2047',
    950: '#000000',
  },
}
SCSS
$custom: #9b2047;
$custom-light: #bf6879;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2047",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 340.976,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.15913,
    "h": 7.8
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#9B2047
secondary
#56C19F
accent
#E9B33F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B2047

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

Preview Lab → · Contrast checker → · Palette generator →

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