#9A2185#9A2185

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

Color values

HEX#9A2185
RGBrgb(154, 33, 133)
HSLhsl(310, 65%, 37%)
HSVhsv(310, 79%, 60%)
CMYKcmyk(0%, 78.6%, 13.6%, 39.6%)
CIE-LABlab(37.21, 58.32, -27.53)
CIE-LCHlch(37.21, 64.49, 334.73°)
OKLaboklab(48.36% 0.1715 -0.0751)
OKLCHoklch(48.36% 0.187 336.3)
XYZxyz(18.1042, 9.6529, 23.0955)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2185 #219A36
analogous
#73219A #9A2185 #9A2149
triadic
#9A2185 #859A21 #21859A
tetradic
#9A2185 #9A7321 #219A36 #21499A
square
#9A2185 #9A7321 #219A36 #21499A
split-complementary
#9A2185 #499A21 #219A73
monochromatic
#350B2E #681659 #9A2185 #CC2CB1 #DC5AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2185#FFFFFF#000000##FFFFFF
##9A21851.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)
#234C88
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#A22A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2185;
/* rgb */ color: rgb(154, 33, 133);
/* oklch */ color: oklch(48.4% 0.187 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9a2185',
    950: '#000000',
  },
}
SCSS
$custom: #9a2185;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2185",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 310.413,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.18718,
    "h": 336.3
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#9A2185
secondary
#57C069
accent
#E85D40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2185

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

Preview Lab → · Contrast checker → · Palette generator →

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