#9B1D4B#9B1D4B

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

Color values

HEX#9B1D4B
RGBrgb(155, 29, 75)
HSLhsl(338, 68%, 36%)
HSVhsv(338, 81%, 61%)
CMYKcmyk(0%, 81.3%, 51.6%, 39.2%)
CIE-LABlab(34.72, 52.96, 5.58)
CIE-LCHlch(34.72, 53.25, 6.01°)
OKLaboklab(45.84% 0.162 0.0147)
OKLCHoklch(45.84% 0.163 5.2)
XYZxyz(15.2283, 8.3574, 7.4665)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D4B #1D9B6D
analogous
#9B1D8A #9B1D4B #9B2E1D
triadic
#9B1D4B #4B9B1D #1D4B9B
tetradic
#9B1D4B #8A9B1D #1D9B6D #2E1D9B
square
#9B1D4B #8A9B1D #1D9B6D #2E1D9B
split-complementary
#9B1D4B #1D9B2E #1D8A9B
monochromatic
#340A19 #671332 #9B1D4B #CF2764 #DF5386

Accessibility & contrast

On white

7.86
#9B1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1D4B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D4B#FFFFFF#000000##FFFFFF
##9B1D4B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1d4b;
/* rgb */ color: rgb(155, 29, 75);
/* oklch */ color: oklch(45.8% 0.163 5.2);
Tailwind
colors: {
  custom: {
    50: '#be677d',
    500: '#9b1d4b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d4b;
$custom-light: #be677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d4b",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 338.095,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.16268,
    "h": 5.2
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#9B1D4B
secondary
#52C299
accent
#EBAB3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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