#9B1B4D#9B1B4D

#9B1B4D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.165 H 3.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9B1B4D
RGBrgb(155, 27, 77)
HSLhsl(337, 70%, 36%)
HSVhsv(337, 83%, 61%)
CMYKcmyk(0%, 82.6%, 50.3%, 39.2%)
CIE-LABlab(34.58, 53.68, 4.08)
CIE-LCHlch(34.58, 53.83, 4.35°)
OKLaboklab(45.76% 0.1645 0.011)
OKLCHoklch(45.76% 0.165 3.8)
XYZxyz(15.2504, 8.2904, 7.8169)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B4D #1B9B69
analogous
#9B1B8D #9B1B4D #9B291B
triadic
#9B1B4D #4D9B1B #1B4D9B
tetradic
#9B1B4D #8D9B1B #1B9B69 #291B9B
square
#9B1B4D #8D9B1B #1B9B69 #291B9B
split-complementary
#9B1B4D #1B9B29 #1B8D9B
monochromatic
#330919 #671233 #9B1B4D #CF2467 #E05088

Accessibility & contrast

On white

7.90
#9B1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9B1B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B4D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B4D#FFFFFF#000000##FFFFFF
##9B1B4D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#5E5A4A
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b4d;
/* rgb */ color: rgb(155, 27, 77);
/* oklch */ color: oklch(45.8% 0.165 3.8);
Tailwind
colors: {
  custom: {
    50: '#be677e',
    500: '#9b1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b4d;
$custom-light: #be677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b4d",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 336.563,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.1649,
    "h": 3.8
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#9B1B4D
secondary
#4FC396
accent
#EDA73B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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