#9C2187#9C2187

#9C2187 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.190 H 336.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9C2187
RGBrgb(156, 33, 135)
HSLhsl(310, 65%, 37%)
HSVhsv(310, 79%, 61%)
CMYKcmyk(0%, 78.8%, 13.5%, 38.8%)
CIE-LABlab(37.67, 59.08, -28.02)
CIE-LCHlch(37.67, 65.38, 334.63°)
OKLaboklab(48.79% 0.1736 -0.0764)
OKLCHoklch(48.79% 0.19 336.2)
XYZxyz(18.6277, 9.9066, 23.8481)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2187 #219C36
analogous
#74219C #9C2187 #9C214A
triadic
#9C2187 #879C21 #21879C
tetradic
#9C2187 #9C7421 #219C36 #214A9C
square
#9C2187 #9C7421 #219C36 #214A9C
split-complementary
#9C2187 #4A9C21 #219C74
monochromatic
#370C30 #69165B #9C2187 #CF2CB3 #DC5BC6

Accessibility & contrast

On white

7.04
#9C2187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2187
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2187#FFFFFF#000000##FFFFFF
##9C21871.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A42B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2187;
/* rgb */ color: rgb(156, 33, 135);
/* oklch */ color: oklch(48.8% 0.190 336.2);
Tailwind
colors: {
  custom: {
    50: '#bd6baa',
    500: '#9c2187',
    950: '#000000',
  },
}
SCSS
$custom: #9c2187;
$custom-light: #bd6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2187",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 310.244,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.18967,
    "h": 336.2
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#9C2187
secondary
#58C16A
accent
#E85C40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2187

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

Preview Lab → · Contrast checker → · Palette generator →

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