#9B1F4D#9B1F4D

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

Color values

HEX#9B1F4D
RGBrgb(155, 31, 77)
HSLhsl(338, 67%, 36%)
HSVhsv(338, 80%, 61%)
CMYKcmyk(0%, 80%, 50.3%, 39.2%)
CIE-LABlab(34.98, 52.55, 4.65)
CIE-LCHlch(34.98, 52.76, 5.06°)
OKLaboklab(46.05% 0.1609 0.0124)
OKLCHoklch(46.05% 0.161 4.4)
XYZxyz(15.3485, 8.4865, 7.8496)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F4D #1F9B6D
analogous
#9B1F8B #9B1F4D #9B2F1F
triadic
#9B1F4D #4D9B1F #1F4D9B
tetradic
#9B1F4D #8B9B1F #1F9B6D #2F1F9B
square
#9B1F4D #8B9B1F #1F9B6D #2F1F9B
split-complementary
#9B1F4D #1F9B2F #1F8B9B
monochromatic
#350B1A #681534 #9B1F4D #CE2966 #DD5789

Accessibility & contrast

On white

7.79
#9B1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B1F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F4D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F4D#FFFFFF#000000##FFFFFF
##9B1F4D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1f4d;
/* rgb */ color: rgb(155, 31, 77);
/* oklch */ color: oklch(46.0% 0.161 4.4);
Tailwind
colors: {
  custom: {
    50: '#be687e',
    500: '#9b1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f4d;
$custom-light: #be687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f4d",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 337.742,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.16137,
    "h": 4.4
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#9B1F4D
secondary
#55C199
accent
#EAAA3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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