#9B1D48#9B1D48

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

Color values

HEX#9B1D48
RGBrgb(155, 29, 72)
HSLhsl(340, 68%, 36%)
HSVhsv(340, 81%, 61%)
CMYKcmyk(0%, 81.3%, 53.5%, 39.2%)
CIE-LABlab(34.64, 52.71, 7.42)
CIE-LCHlch(34.64, 53.23, 8.01°)
OKLaboklab(45.75% 0.1609 0.0192)
OKLCHoklch(45.75% 0.162 6.8)
XYZxyz(15.1280, 8.3173, 6.9384)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D48 #1D9B70
analogous
#9B1D87 #9B1D48 #9B311D
triadic
#9B1D48 #489B1D #1D489B
tetradic
#9B1D48 #879B1D #1D9B70 #311D9B
square
#9B1D48 #879B1D #1D9B70 #311D9B
split-complementary
#9B1D48 #1D9B31 #1D879B
monochromatic
#340A18 #671330 #9B1D48 #CF2760 #DF5383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1D48#FFFFFF#000000##FFFFFF
##9B1D481.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)
#3F4149
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1d48;
/* rgb */ color: rgb(155, 29, 72);
/* oklch */ color: oklch(45.8% 0.162 6.8);
Tailwind
colors: {
  custom: {
    50: '#bf677a',
    500: '#9b1d48',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d48;
$custom-light: #bf677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d48",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 339.524,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.16202,
    "h": 6.8
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#9B1D48
secondary
#52C29C
accent
#EBB03C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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