#9B1981#9B1981

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

Color values

HEX#9B1981
RGBrgb(155, 25, 129)
HSLhsl(312, 72%, 35%)
HSVhsv(312, 84%, 61%)
CMYKcmyk(0%, 83.9%, 16.8%, 39.2%)
CIE-LABlab(36.46, 60.08, -26.21)
CIE-LCHlch(36.46, 65.55, 336.43°)
OKLaboklab(47.79% 0.1784 -0.0712)
OKLCHoklch(47.79% 0.192 338.2)
XYZxyz(17.8281, 9.2506, 21.6113)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1981 #199B33
analogous
#74199B #9B1981 #9B1940
triadic
#9B1981 #819B19 #19819B
tetradic
#9B1981 #9B7419 #199B33 #19409B
square
#9B1981 #9B7419 #199B33 #19409B
split-complementary
#9B1981 #409B19 #199B74
monochromatic
#320829 #661155 #9B1981 #D022AD #E24CC4

Accessibility & contrast

On white

7.37
#9B1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1981
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1981#FFFFFF#000000##FFFFFF
##9B19811.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1981;
/* rgb */ color: rgb(155, 25, 129);
/* oklch */ color: oklch(47.8% 0.192 338.2);
Tailwind
colors: {
  custom: {
    50: '#bd68a6',
    500: '#9b1981',
    950: '#000000',
  },
}
SCSS
$custom: #9b1981;
$custom-light: #bd68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1981",
  "rgb": {
    "r": 155,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 312,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.19211,
    "h": 338.2
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#9B1981
secondary
#4CC464
accent
#EF5D39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1981

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

Preview Lab → · Contrast checker → · Palette generator →

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