#9B1881#9B1881

#9B1881 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.193 H 338.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9B1881
RGBrgb(155, 24, 129)
HSLhsl(312, 73%, 35%)
HSVhsv(312, 85%, 61%)
CMYKcmyk(0%, 84.5%, 16.8%, 39.2%)
CIE-LABlab(36.38, 60.31, -26.34)
CIE-LCHlch(36.38, 65.81, 336.41°)
OKLaboklab(47.73% 0.1791 -0.0716)
OKLCHoklch(47.73% 0.193 338.2)
XYZxyz(17.8071, 9.2086, 21.6043)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1881 #189B32
analogous
#73189B #9B1881 #9B1840
triadic
#9B1881 #819B18 #18819B
tetradic
#9B1881 #9B7318 #189B32 #18409B
square
#9B1881 #9B7318 #189B32 #18409B
split-complementary
#9B1881 #409B18 #189B73
monochromatic
#310829 #661055 #9B1881 #D020AD #E34AC5

Accessibility & contrast

On white

7.39
#9B1881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B1881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1881
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1881#FFFFFF#000000##FFFFFF
##9B18811.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#A4214D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1881;
/* rgb */ color: rgb(155, 24, 129);
/* oklch */ color: oklch(47.7% 0.193 338.2);
Tailwind
colors: {
  custom: {
    50: '#bd68a6',
    500: '#9b1881',
    950: '#000000',
  },
}
SCSS
$custom: #9b1881;
$custom-light: #bd68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1881",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 311.908,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.19289,
    "h": 338.2
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#9B1881
secondary
#4AC562
accent
#F05C38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1881

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

Preview Lab → · Contrast checker → · Palette generator →

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