#9B1B4A#9B1B4A

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

Color values

HEX#9B1B4A
RGBrgb(155, 27, 74)
HSLhsl(338, 70%, 36%)
HSVhsv(338, 83%, 61%)
CMYKcmyk(0%, 82.6%, 52.3%, 39.2%)
CIE-LABlab(34.50, 53.42, 5.92)
CIE-LCHlch(34.50, 53.75, 6.32°)
OKLaboklab(45.67% 0.1634 0.0155)
OKLCHoklch(45.67% 0.164 5.4)
XYZxyz(15.1469, 8.2490, 7.2719)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B4A #1B9B6C
analogous
#9B1B8A #9B1B4A #9B2C1B
triadic
#9B1B4A #4A9B1B #1B4A9B
tetradic
#9B1B4A #8A9B1B #1B9B6C #2C1B9B
square
#9B1B4A #8A9B1B #1B9B6C #2C1B9B
split-complementary
#9B1B4A #1B9B2C #1B8A9B
monochromatic
#330918 #671231 #9B1B4A #CF2463 #E05085

Accessibility & contrast

On white

7.93
#9B1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1B4A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B4A#FFFFFF#000000##FFFFFF
##9B1B4A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414B
Deuteranopia (green-blind)
#5F5A47
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b4a;
/* rgb */ color: rgb(155, 27, 74);
/* oklch */ color: oklch(45.7% 0.164 5.4);
Tailwind
colors: {
  custom: {
    50: '#bf677c',
    500: '#9b1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b4a;
$custom-light: #bf677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b4a",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 337.969,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.16415,
    "h": 5.4
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#9B1B4A
secondary
#4FC398
accent
#EDAC3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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