#9B1B48#9B1B48

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

Color values

HEX#9B1B48
RGBrgb(155, 27, 72)
HSLhsl(339, 70%, 36%)
HSVhsv(339, 83%, 61%)
CMYKcmyk(0%, 82.6%, 53.5%, 39.2%)
CIE-LABlab(34.44, 53.26, 7.15)
CIE-LCHlch(34.44, 53.74, 7.64°)
OKLaboklab(45.61% 0.1627 0.0185)
OKLCHoklch(45.61% 0.164 6.5)
XYZxyz(15.0806, 8.2225, 6.9226)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B48 #1B9B6E
analogous
#9B1B88 #9B1B48 #9B2E1B
triadic
#9B1B48 #489B1B #1B489B
tetradic
#9B1B48 #889B1B #1B9B6E #2E1B9B
square
#9B1B48 #889B1B #1B9B6E #2E1B9B
split-complementary
#9B1B48 #1B9B2E #1B889B
monochromatic
#330918 #671230 #9B1B48 #CF2460 #E05083

Accessibility & contrast

On white

7.94
#9B1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1B48
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B48#FFFFFF#000000##FFFFFF
##9B1B481.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#A9002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b48;
/* rgb */ color: rgb(155, 27, 72);
/* oklch */ color: oklch(45.6% 0.164 6.5);
Tailwind
colors: {
  custom: {
    50: '#bf677a',
    500: '#9b1b48',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b48;
$custom-light: #bf677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b48",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 338.906,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.16371,
    "h": 6.5
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#9B1B48
secondary
#4FC39A
accent
#EDAE3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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