#9B1882#9B1882

#9B1882 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.8% C 0.194 H 337.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9B1882
RGBrgb(155, 24, 130)
HSLhsl(311, 73%, 35%)
HSVhsv(311, 85%, 61%)
CMYKcmyk(0%, 84.5%, 16.1%, 39.2%)
CIE-LABlab(36.43, 60.45, -26.88)
CIE-LCHlch(36.43, 66.16, 336.03°)
OKLaboklab(47.79% 0.1792 -0.0731)
OKLCHoklch(47.79% 0.194 337.8)
XYZxyz(17.8739, 9.2353, 21.9560)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1882 #189B31
analogous
#72189B #9B1882 #9B1841
triadic
#9B1882 #829B18 #18829B
tetradic
#9B1882 #9B7218 #189B31 #18419B
square
#9B1882 #9B7218 #189B31 #18419B
split-complementary
#9B1882 #419B18 #189B72
monochromatic
#310829 #661056 #9B1882 #D020AE #E34AC6

Accessibility & contrast

On white

7.38
#9B1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1882
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1882#FFFFFF#000000##FFFFFF
##9B18821.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A4224E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1882;
/* rgb */ color: rgb(155, 24, 130);
/* oklch */ color: oklch(47.8% 0.194 337.8);
Tailwind
colors: {
  custom: {
    50: '#bd68a6',
    500: '#9b1882',
    950: '#000000',
  },
}
SCSS
$custom: #9b1882;
$custom-light: #bd68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1882",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 311.45,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.19354,
    "h": 337.8
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B1882

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

Preview Lab → · Contrast checker → · Palette generator →

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