#9B1F4B#9B1F4B

#9B1F4B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 5.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9B1F4B
RGBrgb(155, 31, 75)
HSLhsl(339, 67%, 36%)
HSVhsv(339, 80%, 61%)
CMYKcmyk(0%, 80%, 51.6%, 39.2%)
CIE-LABlab(34.92, 52.38, 5.87)
CIE-LCHlch(34.92, 52.71, 6.39°)
OKLaboklab(45.99% 0.1601 0.0154)
OKLCHoklch(45.99% 0.161 5.5)
XYZxyz(15.2789, 8.4587, 7.4834)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F4B #1F9B6F
analogous
#9B1F89 #9B1F4B #9B311F
triadic
#9B1F4B #4B9B1F #1F4B9B
tetradic
#9B1F4B #899B1F #1F9B6F #311F9B
square
#9B1F4B #899B1F #1F9B6F #311F9B
split-complementary
#9B1F4B #1F9B31 #1F899B
monochromatic
#350B1A #681532 #9B1F4B #CE2964 #DD5787

Accessibility & contrast

On white

7.80
#9B1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9B1F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F4B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F4B#FFFFFF#000000##FFFFFF
##9B1F4B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1f4b;
/* rgb */ color: rgb(155, 31, 75);
/* oklch */ color: oklch(46.0% 0.161 5.5);
Tailwind
colors: {
  custom: {
    50: '#be687d',
    500: '#9b1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f4b;
$custom-light: #be687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f4b",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 338.71,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.16089,
    "h": 5.5
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#9B1F4B
secondary
#55C19B
accent
#EAAD3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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