#9B1F47#9B1F47

#9B1F47 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 7.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9B1F47
RGBrgb(155, 31, 71)
HSLhsl(341, 67%, 36%)
HSVhsv(341, 80%, 61%)
CMYKcmyk(0%, 80%, 54.2%, 39.2%)
CIE-LABlab(34.81, 52.05, 8.32)
CIE-LCHlch(34.81, 52.71, 9.08°)
OKLaboklab(45.87% 0.1586 0.0214)
OKLCHoklch(45.87% 0.16 7.7)
XYZxyz(15.1463, 8.4056, 6.7849)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F47 #1F9B73
analogous
#9B1F85 #9B1F47 #9B351F
triadic
#9B1F47 #479B1F #1F479B
tetradic
#9B1F47 #859B1F #1F9B73 #351F9B
square
#9B1F47 #859B1F #1F9B73 #351F9B
split-complementary
#9B1F47 #1F9B35 #1F859B
monochromatic
#350B18 #681530 #9B1F47 #CE295E #DD5782

Accessibility & contrast

On white

7.83
#9B1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9B1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F47
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F47#FFFFFF#000000##FFFFFF
##9B1F471.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1f47;
/* rgb */ color: rgb(155, 31, 71);
/* oklch */ color: oklch(45.9% 0.160 7.7);
Tailwind
colors: {
  custom: {
    50: '#bf6879',
    500: '#9b1f47',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f47;
$custom-light: #bf6879;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f47",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 340.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.16005,
    "h": 7.7
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#9B1F47
secondary
#55C19E
accent
#EAB23E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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