#9C2185#9C2185

#9C2185 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.188 H 337.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9C2185
RGBrgb(156, 33, 133)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 61%)
CMYKcmyk(0%, 78.8%, 14.7%, 38.8%)
CIE-LABlab(37.57, 58.78, -26.94)
CIE-LCHlch(37.57, 64.66, 335.38°)
OKLaboklab(48.69% 0.1734 -0.0733)
OKLCHoklch(48.69% 0.188 337.1)
XYZxyz(18.4882, 9.8509, 23.1135)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2185 #219C38
analogous
#76219C #9C2185 #9C2147
triadic
#9C2185 #859C21 #21859C
tetradic
#9C2185 #9C7621 #219C38 #21479C
square
#9C2185 #9C7621 #219C38 #21479C
split-complementary
#9C2185 #479C21 #219C76
monochromatic
#370C2F #69165A #9C2185 #CF2CB0 #DC5BC4

Accessibility & contrast

On white

7.07
#9C2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2185
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2185#FFFFFF#000000##FFFFFF
##9C21851.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A52A52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2185;
/* rgb */ color: rgb(156, 33, 133);
/* oklch */ color: oklch(48.7% 0.188 337.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ba9',
    500: '#9c2185',
    950: '#000000',
  },
}
SCSS
$custom: #9c2185;
$custom-light: #bd6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2185",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 311.22,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.18829,
    "h": 337.1
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#9C2185
secondary
#58C16C
accent
#E85F40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2185

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

Preview Lab → · Contrast checker → · Palette generator →

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