#9B1B49#9B1B49

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

Color values

HEX#9B1B49
RGBrgb(155, 27, 73)
HSLhsl(338, 70%, 36%)
HSVhsv(338, 83%, 61%)
CMYKcmyk(0%, 82.6%, 52.9%, 39.2%)
CIE-LABlab(34.47, 53.34, 6.53)
CIE-LCHlch(34.47, 53.74, 6.98°)
OKLaboklab(45.64% 0.163 0.017)
OKLCHoklch(45.64% 0.164 5.9)
XYZxyz(15.1135, 8.2356, 7.0958)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B49 #1B9B6D
analogous
#9B1B89 #9B1B49 #9B2D1B
triadic
#9B1B49 #499B1B #1B499B
tetradic
#9B1B49 #899B1B #1B9B6D #2D1B9B
square
#9B1B49 #899B1B #1B9B6D #2D1B9B
split-complementary
#9B1B49 #1B9B2D #1B899B
monochromatic
#330918 #671230 #9B1B49 #CF2462 #E05084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1B49#FFFFFF#000000##FFFFFF
##9B1B491.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)
#3E414A
Deuteranopia (green-blind)
#5F5A46
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b49;
/* rgb */ color: rgb(155, 27, 73);
/* oklch */ color: oklch(45.6% 0.164 5.9);
Tailwind
colors: {
  custom: {
    50: '#bf677b',
    500: '#9b1b49',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b49;
$custom-light: #bf677b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b49",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 338.438,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.16392,
    "h": 5.9
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#9B1B49
secondary
#4FC399
accent
#EDAD3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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