#9B1D4E#9B1D4E

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

Color values

HEX#9B1D4E
RGBrgb(155, 29, 78)
HSLhsl(337, 68%, 36%)
HSVhsv(337, 81%, 61%)
CMYKcmyk(0%, 81.3%, 49.7%, 39.2%)
CIE-LABlab(34.80, 53.22, 3.75)
CIE-LCHlch(34.80, 53.35, 4.03°)
OKLaboklab(45.93% 0.1631 0.0101)
OKLCHoklch(45.93% 0.163 3.5)
XYZxyz(15.3334, 8.3995, 8.0201)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D4E #1D9B6A
analogous
#9B1D8D #9B1D4E #9B2B1D
triadic
#9B1D4E #4E9B1D #1D4E9B
tetradic
#9B1D4E #8D9B1D #1D9B6A #2B1D9B
square
#9B1D4E #8D9B1D #1D9B6A #2B1D9B
split-complementary
#9B1D4E #1D9B2B #1D8D9B
monochromatic
#340A1A #671334 #9B1D4E #CF2768 #DF538A

Accessibility & contrast

On white

7.84
#9B1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1D4E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D4E#FFFFFF#000000##FFFFFF
##9B1D4E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1d4e;
/* rgb */ color: rgb(155, 29, 78);
/* oklch */ color: oklch(45.9% 0.163 3.5);
Tailwind
colors: {
  custom: {
    50: '#be687f',
    500: '#9b1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d4e;
$custom-light: #be687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d4e",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 336.667,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.16345,
    "h": 3.5
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#9B1D4E
secondary
#52C296
accent
#EBA73C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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