#9B2147#9B2147

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

Color values

HEX#9B2147
RGBrgb(155, 33, 71)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 61%)
CMYKcmyk(0%, 78.7%, 54.2%, 39.2%)
CIE-LABlab(35.03, 51.44, 8.62)
CIE-LCHlch(35.03, 52.16, 9.51°)
OKLaboklab(46.03% 0.1567 0.0221)
OKLCHoklch(46.03% 0.158 8)
XYZxyz(15.2002, 8.5134, 6.8029)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2147 #219B75
analogous
#9B2184 #9B2147 #9B3821
triadic
#9B2147 #479B21 #21479B
tetradic
#9B2147 #849B21 #219B75 #38219B
square
#9B2147 #849B21 #219B75 #38219B
split-complementary
#9B2147 #219B38 #21849B
monochromatic
#360C19 #691630 #9B2147 #CD2C5E #DC5A83

Accessibility & contrast

On white

7.77
#9B2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2147
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2147#FFFFFF#000000##FFFFFF
##9B21471.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2147;
/* rgb */ color: rgb(155, 33, 71);
/* oklch */ color: oklch(46.0% 0.158 8.0);
Tailwind
colors: {
  custom: {
    50: '#bf6979',
    500: '#9b2147',
    950: '#000000',
  },
}
SCSS
$custom: #9b2147;
$custom-light: #bf6979;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2147",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 341.311,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.1582,
    "h": 8
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#9B2147
secondary
#58C0A0
accent
#E8B440
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B2147

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

Preview Lab → · Contrast checker → · Palette generator →

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