#9B1F52#9B1F52

#9B1F52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.163 H 1.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9B1F52
RGBrgb(155, 31, 82)
HSLhsl(335, 67%, 36%)
HSVhsv(335, 80%, 61%)
CMYKcmyk(0%, 80%, 47.1%, 39.2%)
CIE-LABlab(35.12, 53.00, 1.62)
CIE-LCHlch(35.12, 53.03, 1.75°)
OKLaboklab(46.2% 0.1627 0.0047)
OKLCHoklch(46.2% 0.163 1.7)
XYZxyz(15.5318, 8.5598, 8.8153)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F52 #1F9B68
analogous
#9B1F90 #9B1F52 #9B2A1F
triadic
#9B1F52 #529B1F #1F529B
tetradic
#9B1F52 #909B1F #1F9B68 #2A1F9B
square
#9B1F52 #909B1F #1F9B68 #2A1F9B
split-complementary
#9B1F52 #1F9B2A #1F909B
monochromatic
#350B1C #681537 #9B1F52 #CE296D #DD578E

Accessibility & contrast

On white

7.74
#9B1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9B1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F52
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F52#FFFFFF#000000##FFFFFF
##9B1F521.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A90036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b1f52;
/* rgb */ color: rgb(155, 31, 82);
/* oklch */ color: oklch(46.2% 0.163 1.7);
Tailwind
colors: {
  custom: {
    50: '#be6882',
    500: '#9b1f52',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f52;
$custom-light: #be6882;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f52",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 335.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.16279,
    "h": 1.7
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#9B1F52
secondary
#55C195
accent
#EAA33E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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