#9B2181#9B2181

#9B2181 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.185 H 338.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B2181
RGBrgb(155, 33, 129)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 61%)
CMYKcmyk(0%, 78.7%, 16.8%, 39.2%)
CIE-LABlab(37.19, 57.98, -25.07)
CIE-LCHlch(37.19, 63.16, 336.62°)
OKLaboklab(48.32% 0.1721 -0.068)
OKLCHoklch(48.32% 0.185 338.4)
XYZxyz(18.0243, 9.6430, 21.6767)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2181 #219B3B
analogous
#78219B #9B2181 #9B2144
triadic
#9B2181 #819B21 #21819B
tetradic
#9B2181 #9B7821 #219B3B #21449B
square
#9B2181 #9B7821 #219B3B #21449B
split-complementary
#9B2181 #449B21 #219B78
monochromatic
#360C2D #691657 #9B2181 #CD2CAB #DC5AC0

Accessibility & contrast

On white

7.17
#9B2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2181
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2181#FFFFFF#000000##FFFFFF
##9B21811.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B84
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#A4284F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2181;
/* rgb */ color: rgb(155, 33, 129);
/* oklch */ color: oklch(48.3% 0.185 338.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ba6',
    500: '#9b2181',
    950: '#000000',
  },
}
SCSS
$custom: #9b2181;
$custom-light: #bc6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2181",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 312.787,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.18501,
    "h": 338.4
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#9B2181
secondary
#58C06E
accent
#E86440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2181

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

Preview Lab → · Contrast checker → · Palette generator →

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