#9B1F4F#9B1F4F

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

Color values

HEX#9B1F4F
RGBrgb(155, 31, 79)
HSLhsl(337, 67%, 36%)
HSVhsv(337, 80%, 61%)
CMYKcmyk(0%, 80%, 49%, 39.2%)
CIE-LABlab(35.03, 52.73, 3.44)
CIE-LCHlch(35.03, 52.84, 3.73°)
OKLaboklab(46.11% 0.1616 0.0093)
OKLCHoklch(46.11% 0.162 3.3)
XYZxyz(15.4202, 8.5152, 8.2272)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F4F #1F9B6B
analogous
#9B1F8D #9B1F4F #9B2D1F
triadic
#9B1F4F #4F9B1F #1F4F9B
tetradic
#9B1F4F #8D9B1F #1F9B6B #2D1F9B
square
#9B1F4F #8D9B1F #1F9B6B #2D1F9B
split-complementary
#9B1F4F #1F9B2D #1F8D9B
monochromatic
#350B1B #681535 #9B1F4F #CE2969 #DD578B

Accessibility & contrast

On white

7.77
#9B1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F4F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F4F#FFFFFF#000000##FFFFFF
##9B1F4F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1f4f;
/* rgb */ color: rgb(155, 31, 79);
/* oklch */ color: oklch(46.1% 0.162 3.3);
Tailwind
colors: {
  custom: {
    50: '#be6880',
    500: '#9b1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f4f;
$custom-light: #be6880;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f4f",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 336.774,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.16191,
    "h": 3.3
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#9B1F4F
secondary
#55C197
accent
#EAA73E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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