#9A2183#9A2183

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

Color values

HEX#9A2183
RGBrgb(154, 33, 131)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 60%)
CMYKcmyk(0%, 78.6%, 14.9%, 39.6%)
CIE-LABlab(37.11, 58.03, -26.45)
CIE-LCHlch(37.11, 63.77, 335.50°)
OKLaboklab(48.26% 0.1713 -0.072)
OKLCHoklch(48.26% 0.186 337.2)
XYZxyz(17.9674, 9.5981, 22.3747)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2183 #219A38
analogous
#75219A #9A2183 #9A2147
triadic
#9A2183 #839A21 #21839A
tetradic
#9A2183 #9A7521 #219A38 #21479A
square
#9A2183 #9A7521 #219A38 #21479A
split-complementary
#9A2183 #479A21 #219A75
monochromatic
#350B2D #681658 #9A2183 #CC2CAE #DC5AC3

Accessibility & contrast

On white

7.19
#9A2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9A2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2183
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2183#FFFFFF#000000##FFFFFF
##9A21831.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A32950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2183;
/* rgb */ color: rgb(154, 33, 131);
/* oklch */ color: oklch(48.3% 0.186 337.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ba7',
    500: '#9a2183',
    950: '#000000',
  },
}
SCSS
$custom: #9a2183;
$custom-light: #bc6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2183",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 311.405,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.18579,
    "h": 337.2
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#9A2183
secondary
#57C06B
accent
#E86040
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2183

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

Preview Lab → · Contrast checker → · Palette generator →

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