#9B1D4D#9B1D4D

#9B1D4D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 4.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9B1D4D
RGBrgb(155, 29, 77)
HSLhsl(337, 68%, 36%)
HSVhsv(337, 81%, 61%)
CMYKcmyk(0%, 81.3%, 50.3%, 39.2%)
CIE-LABlab(34.77, 53.13, 4.36)
CIE-LCHlch(34.77, 53.31, 4.69°)
OKLaboklab(45.9% 0.1628 0.0116)
OKLCHoklch(45.9% 0.163 4.1)
XYZxyz(15.2978, 8.3853, 7.8327)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D4D #1D9B6B
analogous
#9B1D8C #9B1D4D #9B2C1D
triadic
#9B1D4D #4D9B1D #1D4D9B
tetradic
#9B1D4D #8C9B1D #1D9B6B #2C1D9B
square
#9B1D4D #8C9B1D #1D9B6B #2C1D9B
split-complementary
#9B1D4D #1D9B2C #1D8C9B
monochromatic
#340A1A #671333 #9B1D4D #CF2767 #DF5389

Accessibility & contrast

On white

7.85
#9B1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9B1D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D4D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D4D#FFFFFF#000000##FFFFFF
##9B1D4D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1d4d;
/* rgb */ color: rgb(155, 29, 77);
/* oklch */ color: oklch(45.9% 0.163 4.1);
Tailwind
colors: {
  custom: {
    50: '#be677e',
    500: '#9b1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d4d;
$custom-light: #be677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d4d",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 337.143,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.16319,
    "h": 4.1
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#9B1D4D
secondary
#52C297
accent
#EBA93C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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