#9B1A48#9B1A48

#9B1A48 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 6.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9B1A48
RGBrgb(155, 26, 72)
HSLhsl(339, 71%, 35%)
HSVhsv(339, 83%, 61%)
CMYKcmyk(0%, 83.2%, 53.5%, 39.2%)
CIE-LABlab(34.35, 53.53, 7.01)
CIE-LCHlch(34.35, 53.98, 7.47°)
OKLaboklab(45.54% 0.1635 0.0182)
OKLCHoklch(45.54% 0.165 6.3)
XYZxyz(15.0581, 8.1774, 6.9151)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A48 #1A9B6D
analogous
#9B1A88 #9B1A48 #9B2D1A
triadic
#9B1A48 #489B1A #1A489B
tetradic
#9B1A48 #889B1A #1A9B6D #2D1A9B
square
#9B1A48 #889B1A #1A9B6D #2D1A9B
split-complementary
#9B1A48 #1A9B2D #1A889B
monochromatic
#320817 #671130 #9B1A48 #CF2360 #E14E83

Accessibility & contrast

On white

7.97
#9B1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1A48
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A48#FFFFFF#000000##FFFFFF
##9B1A481.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.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: #9b1a48;
/* rgb */ color: rgb(155, 26, 72);
/* oklch */ color: oklch(45.5% 0.165 6.3);
Tailwind
colors: {
  custom: {
    50: '#bf667a',
    500: '#9b1a48',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a48;
$custom-light: #bf667a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a48",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 338.605,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.16452,
    "h": 6.3
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#9B1A48
secondary
#4DC499
accent
#EEAE3A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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