#9B1B47#9B1B47

#9B1B47 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.164 H 7.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9B1B47
RGBrgb(155, 27, 71)
HSLhsl(339, 70%, 36%)
HSVhsv(339, 83%, 61%)
CMYKcmyk(0%, 82.6%, 54.2%, 39.2%)
CIE-LABlab(34.42, 53.18, 7.76)
CIE-LCHlch(34.42, 53.75, 8.30°)
OKLaboklab(45.58% 0.1623 0.02)
OKLCHoklch(45.58% 0.164 7)
XYZxyz(15.0483, 8.2095, 6.7522)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B47 #1B9B6F
analogous
#9B1B87 #9B1B47 #9B2F1B
triadic
#9B1B47 #479B1B #1B479B
tetradic
#9B1B47 #879B1B #1B9B6F #2F1B9B
square
#9B1B47 #879B1B #1B9B6F #2F1B9B
split-complementary
#9B1B47 #1B9B2F #1B879B
monochromatic
#330917 #67122F #9B1B47 #CF245F #E05082

Accessibility & contrast

On white

7.95
#9B1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9B1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B47
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B47#FFFFFF#000000##FFFFFF
##9B1B471.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#AA002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b47;
/* rgb */ color: rgb(155, 27, 71);
/* oklch */ color: oklch(45.6% 0.164 7.0);
Tailwind
colors: {
  custom: {
    50: '#bf6779',
    500: '#9b1b47',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b47;
$custom-light: #bf6779;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b47",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 339.375,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.1635,
    "h": 7
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#9B1B47
secondary
#4FC39B
accent
#EDB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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