#9B1C52#9B1C52

#9B1C52 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.166 H 1.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9B1C52
RGBrgb(155, 28, 82)
HSLhsl(334, 69%, 36%)
HSVhsv(334, 82%, 61%)
CMYKcmyk(0%, 81.9%, 47.1%, 39.2%)
CIE-LABlab(34.82, 53.85, 1.19)
CIE-LCHlch(34.82, 53.87, 1.26°)
OKLaboklab(45.98% 0.1655 0.0036)
OKLCHoklch(45.98% 0.166 1.3)
XYZxyz(15.4571, 8.4104, 8.7904)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C52 #1C9B65
analogous
#9B1C91 #9B1C52 #9B251C
triadic
#9B1C52 #529B1C #1C529B
tetradic
#9B1C52 #919B1C #1C9B65 #251C9B
square
#9B1C52 #919B1C #1C9B65 #251C9B
split-complementary
#9B1C52 #1C9B25 #1C919B
monochromatic
#33091B #671337 #9B1C52 #CF256D #E0528E

Accessibility & contrast

On white

7.83
#9B1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1C52
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C52#FFFFFF#000000##FFFFFF
##9B1C521.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A90035
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1c52;
/* rgb */ color: rgb(155, 28, 82);
/* oklch */ color: oklch(46.0% 0.166 1.3);
Tailwind
colors: {
  custom: {
    50: '#be6782',
    500: '#9b1c52',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c52;
$custom-light: #be6782;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c52",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 334.488,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.1655,
    "h": 1.3
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#9B1C52
secondary
#50C392
accent
#ECA13C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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