#9B1F4E#9B1F4E

#9B1F4E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.162 H 3.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9B1F4E
RGBrgb(155, 31, 78)
HSLhsl(337, 67%, 36%)
HSVhsv(337, 80%, 61%)
CMYKcmyk(0%, 80%, 49.7%, 39.2%)
CIE-LABlab(35.00, 52.64, 4.04)
CIE-LCHlch(35.00, 52.80, 4.39°)
OKLaboklab(46.08% 0.1613 0.0109)
OKLCHoklch(46.08% 0.162 3.8)
XYZxyz(15.3840, 8.5007, 8.0370)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F4E #1F9B6C
analogous
#9B1F8C #9B1F4E #9B2E1F
triadic
#9B1F4E #4E9B1F #1F4E9B
tetradic
#9B1F4E #8C9B1F #1F9B6C #2E1F9B
square
#9B1F4E #8C9B1F #1F9B6C #2E1F9B
split-complementary
#9B1F4E #1F9B2E #1F8C9B
monochromatic
#350B1B #681534 #9B1F4E #CE2968 #DD578A

Accessibility & contrast

On white

7.78
#9B1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F4E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F4E#FFFFFF#000000##FFFFFF
##9B1F4E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#A90034
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1f4e;
/* rgb */ color: rgb(155, 31, 78);
/* oklch */ color: oklch(46.1% 0.162 3.8);
Tailwind
colors: {
  custom: {
    50: '#be687f',
    500: '#9b1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f4e;
$custom-light: #be687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f4e",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 337.258,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.16163,
    "h": 3.8
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#9B1F4E
secondary
#55C198
accent
#EAA93E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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