#9B1D4A#9B1D4A

#9B1D4A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.162 H 5.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9B1D4A
RGBrgb(155, 29, 74)
HSLhsl(339, 68%, 36%)
HSVhsv(339, 81%, 61%)
CMYKcmyk(0%, 81.3%, 52.3%, 39.2%)
CIE-LABlab(34.69, 52.88, 6.19)
CIE-LCHlch(34.69, 53.24, 6.68°)
OKLaboklab(45.81% 0.1616 0.0162)
OKLCHoklch(45.81% 0.162 5.7)
XYZxyz(15.1944, 8.3439, 7.2877)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D4A #1D9B6E
analogous
#9B1D89 #9B1D4A #9B2F1D
triadic
#9B1D4A #4A9B1D #1D4A9B
tetradic
#9B1D4A #899B1D #1D9B6E #2F1D9B
square
#9B1D4A #899B1D #1D9B6E #2F1D9B
split-complementary
#9B1D4A #1D9B2F #1D899B
monochromatic
#340A19 #671331 #9B1D4A #CF2763 #DF5385

Accessibility & contrast

On white

7.87
#9B1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9B1D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D4A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D4A#FFFFFF#000000##FFFFFF
##9B1D4A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424B
Deuteranopia (green-blind)
#5F5A47
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1d4a;
/* rgb */ color: rgb(155, 29, 74);
/* oklch */ color: oklch(45.8% 0.162 5.7);
Tailwind
colors: {
  custom: {
    50: '#be677c',
    500: '#9b1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d4a;
$custom-light: #be677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d4a",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 338.571,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.16246,
    "h": 5.7
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#9B1D4A
secondary
#52C29A
accent
#EBAD3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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