#9B1851#9B1851

#9B1851 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.168 H 1.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9B1851
RGBrgb(155, 24, 81)
HSLhsl(334, 73%, 35%)
HSVhsv(334, 85%, 61%)
CMYKcmyk(0%, 84.5%, 47.7%, 39.2%)
CIE-LABlab(34.43, 54.79, 1.27)
CIE-LCHlch(34.43, 54.80, 1.33°)
OKLaboklab(45.69% 0.1684 0.0039)
OKLCHoklch(45.69% 0.168 1.3)
XYZxyz(15.3307, 8.2181, 8.5620)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1851 #189B62
analogous
#9B1892 #9B1851 #9B2018
triadic
#9B1851 #519B18 #18519B
tetradic
#9B1851 #929B18 #189B62 #20189B
square
#9B1851 #929B18 #189B62 #20189B
split-complementary
#9B1851 #189B20 #18929B
monochromatic
#31081A #661035 #9B1851 #D0206D #E34A8D

Accessibility & contrast

On white

7.94
#9B1851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9B1851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1851
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1851#FFFFFF#000000##FFFFFF
##9B18511.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5D5A4E
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1851;
/* rgb */ color: rgb(155, 24, 81);
/* oklch */ color: oklch(45.7% 0.168 1.3);
Tailwind
colors: {
  custom: {
    50: '#be6681',
    500: '#9b1851',
    950: '#000000',
  },
}
SCSS
$custom: #9b1851;
$custom-light: #be6681;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1851",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 333.893,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.16847,
    "h": 1.3
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#9B1851
secondary
#4AC58F
accent
#F0A038
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1851

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

Preview Lab → · Contrast checker → · Palette generator →

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