#9B1C4E#9B1C4E

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

Color values

HEX#9B1C4E
RGBrgb(155, 28, 78)
HSLhsl(336, 69%, 36%)
HSVhsv(336, 82%, 61%)
CMYKcmyk(0%, 81.9%, 49.7%, 39.2%)
CIE-LABlab(34.70, 53.49, 3.61)
CIE-LCHlch(34.70, 53.62, 3.86°)
OKLaboklab(45.86% 0.164 0.0098)
OKLCHoklch(45.86% 0.164 3.4)
XYZxyz(15.3093, 8.3513, 8.0121)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C4E #1C9B69
analogous
#9B1C8D #9B1C4E #9B291C
triadic
#9B1C4E #4E9B1C #1C4E9B
tetradic
#9B1C4E #8D9B1C #1C9B69 #291C9B
square
#9B1C4E #8D9B1C #1C9B69 #291C9B
split-complementary
#9B1C4E #1C9B29 #1C8D9B
monochromatic
#33091A #671334 #9B1C4E #CF2568 #E0528A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1C4E#FFFFFF#000000##FFFFFF
##9B1C4E1.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)
#3D424F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1c4e;
/* rgb */ color: rgb(155, 28, 78);
/* oklch */ color: oklch(45.9% 0.164 3.4);
Tailwind
colors: {
  custom: {
    50: '#be677f',
    500: '#9b1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c4e;
$custom-light: #be677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c4e",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 336.378,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.16432,
    "h": 3.4
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#9B1C4E
secondary
#50C396
accent
#ECA73C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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