#9B1847#9B1847

#9B1847 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 6.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9B1847
RGBrgb(155, 24, 71)
HSLhsl(338, 73%, 35%)
HSVhsv(338, 85%, 61%)
CMYKcmyk(0%, 84.5%, 54.2%, 39.2%)
CIE-LABlab(34.15, 53.95, 7.38)
CIE-LCHlch(34.15, 54.45, 7.79°)
OKLaboklab(45.38% 0.1648 0.0191)
OKLCHoklch(45.38% 0.166 6.6)
XYZxyz(14.9830, 8.0790, 6.7305)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1847 #189B6C
analogous
#9B1889 #9B1847 #9B2A18
triadic
#9B1847 #479B18 #18479B
tetradic
#9B1847 #899B18 #189B6C #2A189B
square
#9B1847 #899B18 #189B6C #2A189B
split-complementary
#9B1847 #189B2A #18899B
monochromatic
#310816 #66102F #9B1847 #D0205F #E34A81

Accessibility & contrast

On white

8.03
#9B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9B1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1847
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1847#FFFFFF#000000##FFFFFF
##9B18471.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5F5944
Tritanopia (blue-blind)
#AA002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1847;
/* rgb */ color: rgb(155, 24, 71);
/* oklch */ color: oklch(45.4% 0.166 6.6);
Tailwind
colors: {
  custom: {
    50: '#bf6679',
    500: '#9b1847',
    950: '#000000',
  },
}
SCSS
$custom: #9b1847;
$custom-light: #bf6679;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1847",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 338.473,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.16586,
    "h": 6.6
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#9B1847
secondary
#4AC599
accent
#F0AE38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1847

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

Preview Lab → · Contrast checker → · Palette generator →

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