#9A2184#9A2184

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

Color values

HEX#9A2184
RGBrgb(154, 33, 132)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 60%)
CMYKcmyk(0%, 78.6%, 14.3%, 39.6%)
CIE-LABlab(37.16, 58.18, -26.99)
CIE-LCHlch(37.16, 64.13, 335.11°)
OKLaboklab(48.31% 0.1714 -0.0735)
OKLCHoklch(48.31% 0.186 336.8)
XYZxyz(18.0355, 9.6254, 22.7334)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2184 #219A37
analogous
#74219A #9A2184 #9A2148
triadic
#9A2184 #849A21 #21849A
tetradic
#9A2184 #9A7421 #219A37 #21489A
square
#9A2184 #9A7421 #219A37 #21489A
split-complementary
#9A2184 #489A21 #219A74
monochromatic
#350B2E #681659 #9A2184 #CC2CAF #DC5AC4

Accessibility & contrast

On white

7.18
#9A2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2184
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2184#FFFFFF#000000##FFFFFF
##9A21841.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#4F5E81
Tritanopia (blue-blind)
#A22A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2184;
/* rgb */ color: rgb(154, 33, 132);
/* oklch */ color: oklch(48.3% 0.186 336.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ba8',
    500: '#9a2184',
    950: '#000000',
  },
}
SCSS
$custom: #9a2184;
$custom-light: #bc6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2184",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 310.909,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.18648,
    "h": 336.8
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#9A2184
secondary
#57C06A
accent
#E85F40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2184

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

Preview Lab → · Contrast checker → · Palette generator →

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