#9B1D4C#9B1D4C

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

Color values

HEX#9B1D4C
RGBrgb(155, 29, 76)
HSLhsl(338, 68%, 36%)
HSVhsv(338, 81%, 61%)
CMYKcmyk(0%, 81.3%, 51%, 39.2%)
CIE-LABlab(34.74, 53.04, 4.97)
CIE-LCHlch(34.74, 53.28, 5.35°)
OKLaboklab(45.87% 0.1624 0.0132)
OKLCHoklch(45.87% 0.163 4.6)
XYZxyz(15.2628, 8.3712, 7.6482)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D4C #1D9B6C
analogous
#9B1D8B #9B1D4C #9B2D1D
triadic
#9B1D4C #4C9B1D #1D4C9B
tetradic
#9B1D4C #8B9B1D #1D9B6C #2D1D9B
square
#9B1D4C #8B9B1D #1D9B6C #2D1D9B
split-complementary
#9B1D4C #1D9B2D #1D8B9B
monochromatic
#340A19 #671333 #9B1D4C #CF2765 #DF5387

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1D4C#FFFFFF#000000##FFFFFF
##9B1D4C1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#5F5B49
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1d4c;
/* rgb */ color: rgb(155, 29, 76);
/* oklch */ color: oklch(45.9% 0.163 4.6);
Tailwind
colors: {
  custom: {
    50: '#be677d',
    500: '#9b1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d4c;
$custom-light: #be677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d4c",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 337.619,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.16293,
    "h": 4.6
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#9B1D4C
secondary
#52C298
accent
#EBAA3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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