#9B1D47#9B1D47

#9B1D47 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.162 H 7.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9B1D47
RGBrgb(155, 29, 71)
HSLhsl(340, 68%, 36%)
HSVhsv(340, 81%, 61%)
CMYKcmyk(0%, 81.3%, 54.2%, 39.2%)
CIE-LABlab(34.61, 52.63, 8.03)
CIE-LCHlch(34.61, 53.24, 8.68°)
OKLaboklab(45.72% 0.1605 0.0206)
OKLCHoklch(45.72% 0.162 7.3)
XYZxyz(15.0957, 8.3044, 6.7680)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D47 #1D9B71
analogous
#9B1D86 #9B1D47 #9B321D
triadic
#9B1D47 #479B1D #1D479B
tetradic
#9B1D47 #869B1D #1D9B71 #321D9B
square
#9B1D47 #869B1D #1D9B71 #321D9B
split-complementary
#9B1D47 #1D9B32 #1D869B
monochromatic
#340A18 #67132F #9B1D47 #CF275F #DF5382

Accessibility & contrast

On white

7.89
#9B1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9B1D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D47
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D47#FFFFFF#000000##FFFFFF
##9B1D471.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#605A44
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1d47;
/* rgb */ color: rgb(155, 29, 71);
/* oklch */ color: oklch(45.7% 0.162 7.3);
Tailwind
colors: {
  custom: {
    50: '#bf6779',
    500: '#9b1d47',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d47;
$custom-light: #bf6779;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d47",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 340,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.16182,
    "h": 7.3
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#9B1D47
secondary
#52C29D
accent
#EBB13C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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