#9B1B4B#9B1B4B

#9B1B4B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.164 H 4.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9B1B4B
RGBrgb(155, 27, 75)
HSLhsl(338, 70%, 36%)
HSVhsv(338, 83%, 61%)
CMYKcmyk(0%, 82.6%, 51.6%, 39.2%)
CIE-LABlab(34.52, 53.51, 5.31)
CIE-LCHlch(34.52, 53.77, 5.66°)
OKLaboklab(45.7% 0.1638 0.014)
OKLCHoklch(45.7% 0.164 4.9)
XYZxyz(15.1809, 8.2626, 7.4507)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B4B #1B9B6B
analogous
#9B1B8B #9B1B4B #9B2B1B
triadic
#9B1B4B #4B9B1B #1B4B9B
tetradic
#9B1B4B #8B9B1B #1B9B6B #2B1B9B
square
#9B1B4B #8B9B1B #1B9B6B #2B1B9B
split-complementary
#9B1B4B #1B9B2B #1B8B9B
monochromatic
#330919 #671232 #9B1B4B #CF2464 #E05086

Accessibility & contrast

On white

7.92
#9B1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9B1B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B4B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B4B#FFFFFF#000000##FFFFFF
##9B1B4B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#5F5A48
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b4b;
/* rgb */ color: rgb(155, 27, 75);
/* oklch */ color: oklch(45.7% 0.164 4.9);
Tailwind
colors: {
  custom: {
    50: '#bf677d',
    500: '#9b1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b4b;
$custom-light: #bf677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b4b",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 337.5,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.1644,
    "h": 4.9
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#9B1B4B
secondary
#4FC397
accent
#EDAA3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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