#9B2183#9B2183

#9B2183 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.186 H 337.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9B2183
RGBrgb(155, 33, 131)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 61%)
CMYKcmyk(0%, 78.7%, 15.5%, 39.2%)
CIE-LABlab(37.29, 58.26, -26.15)
CIE-LCHlch(37.29, 63.86, 335.83°)
OKLaboklab(48.42% 0.1723 -0.0711)
OKLCHoklch(48.42% 0.186 337.6)
XYZxyz(18.1586, 9.6967, 22.3837)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2183 #219B39
analogous
#76219B #9B2183 #9B2146
triadic
#9B2183 #839B21 #21839B
tetradic
#9B2183 #9B7621 #219B39 #21469B
square
#9B2183 #9B7621 #219B39 #21469B
split-complementary
#9B2183 #469B21 #219B76
monochromatic
#360C2E #691658 #9B2183 #CD2CAE #DC5AC2

Accessibility & contrast

On white

7.15
#9B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2183
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2183#FFFFFF#000000##FFFFFF
##9B21831.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#A42950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2183;
/* rgb */ color: rgb(155, 33, 131);
/* oklch */ color: oklch(48.4% 0.186 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ba7',
    500: '#9b2183',
    950: '#000000',
  },
}
SCSS
$custom: #9b2183;
$custom-light: #bc6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2183",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 311.803,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.18637,
    "h": 337.6
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#9B2183
secondary
#58C06C
accent
#E86140
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2183

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

Preview Lab → · Contrast checker → · Palette generator →

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