#9A2182#9A2182

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

Color values

HEX#9A2182
RGBrgb(154, 33, 130)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 60%)
CMYKcmyk(0%, 78.6%, 15.6%, 39.6%)
CIE-LABlab(37.06, 57.88, -25.91)
CIE-LCHlch(37.06, 63.42, 335.89°)
OKLaboklab(48.2% 0.1712 -0.0704)
OKLCHoklch(48.2% 0.185 337.6)
XYZxyz(17.8999, 9.5712, 22.0195)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2182 #219A39
analogous
#76219A #9A2182 #9A2146
triadic
#9A2182 #829A21 #21829A
tetradic
#9A2182 #9A7621 #219A39 #21469A
square
#9A2182 #9A7621 #219A39 #21469A
split-complementary
#9A2182 #469A21 #219A76
monochromatic
#350B2D #681657 #9A2182 #CC2CAD #DC5AC2

Accessibility & contrast

On white

7.21
#9A2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2182
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2182#FFFFFF#000000##FFFFFF
##9A21821.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A32950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2182;
/* rgb */ color: rgb(154, 33, 130);
/* oklch */ color: oklch(48.2% 0.185 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ba6',
    500: '#9a2182',
    950: '#000000',
  },
}
SCSS
$custom: #9a2182;
$custom-light: #bc6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2182",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 311.901,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.18511,
    "h": 337.6
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A2182

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

Preview Lab → · Contrast checker → · Palette generator →

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