#9C2186#9C2186

#9C2186 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.189 H 336.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C2186
RGBrgb(156, 33, 134)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 61%)
CMYKcmyk(0%, 78.8%, 14.1%, 38.8%)
CIE-LABlab(37.62, 58.93, -27.48)
CIE-LCHlch(37.62, 65.02, 335.00°)
OKLaboklab(48.74% 0.1735 -0.0749)
OKLCHoklch(48.74% 0.189 336.7)
XYZxyz(18.5576, 9.8786, 23.4791)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2186 #219C37
analogous
#75219C #9C2186 #9C2148
triadic
#9C2186 #869C21 #21869C
tetradic
#9C2186 #9C7521 #219C37 #21489C
square
#9C2186 #9C7521 #219C37 #21489C
split-complementary
#9C2186 #489C21 #219C75
monochromatic
#370C2F #69165B #9C2186 #CF2CB1 #DC5BC5

Accessibility & contrast

On white

7.06
#9C2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2186
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2186#FFFFFF#000000##FFFFFF
##9C21861.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A42A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2186;
/* rgb */ color: rgb(156, 33, 134);
/* oklch */ color: oklch(48.7% 0.189 336.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ba9',
    500: '#9c2186',
    950: '#000000',
  },
}
SCSS
$custom: #9c2186;
$custom-light: #bd6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2186",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 310.732,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.18898,
    "h": 336.7
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#9C2186
secondary
#58C16B
accent
#E85E40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2186

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

Preview Lab → · Contrast checker → · Palette generator →

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