#9B1F4C#9B1F4C

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

Color values

HEX#9B1F4C
RGBrgb(155, 31, 76)
HSLhsl(338, 67%, 36%)
HSVhsv(338, 80%, 61%)
CMYKcmyk(0%, 80%, 51%, 39.2%)
CIE-LABlab(34.95, 52.47, 5.26)
CIE-LCHlch(34.95, 52.73, 5.73°)
OKLaboklab(46.02% 0.1605 0.0139)
OKLCHoklch(46.02% 0.161 4.9)
XYZxyz(15.3134, 8.4725, 7.6651)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F4C #1F9B6E
analogous
#9B1F8A #9B1F4C #9B301F
triadic
#9B1F4C #4C9B1F #1F4C9B
tetradic
#9B1F4C #8A9B1F #1F9B6E #301F9B
square
#9B1F4C #8A9B1F #1F9B6E #301F9B
split-complementary
#9B1F4C #1F9B30 #1F8A9B
monochromatic
#350B1A #681533 #9B1F4C #CE2965 #DD5788

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1F4C#FFFFFF#000000##FFFFFF
##9B1F4C1.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)
#3F434D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1f4c;
/* rgb */ color: rgb(155, 31, 76);
/* oklch */ color: oklch(46.0% 0.161 4.9);
Tailwind
colors: {
  custom: {
    50: '#be687d',
    500: '#9b1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f4c;
$custom-light: #be687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f4c",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 338.226,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.16113,
    "h": 4.9
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#9B1F4C
secondary
#55C19A
accent
#EAAB3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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