#9C2087#9C2087

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

Color values

HEX#9C2087
RGBrgb(156, 32, 135)
HSLhsl(310, 66%, 37%)
HSVhsv(310, 79%, 61%)
CMYKcmyk(0%, 79.5%, 13.5%, 38.8%)
CIE-LABlab(37.58, 59.36, -28.17)
CIE-LCHlch(37.58, 65.71, 334.61°)
OKLaboklab(48.72% 0.1744 -0.0769)
OKLCHoklch(48.72% 0.191 336.2)
XYZxyz(18.6003, 9.8520, 23.8390)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2087 #209C35
analogous
#73209C #9C2087 #9C2049
triadic
#9C2087 #879C20 #20879C
tetradic
#9C2087 #9C7320 #209C35 #20499C
square
#9C2087 #9C7320 #209C35 #20499C
split-complementary
#9C2087 #499C20 #209C73
monochromatic
#360B2F #69165B #9C2087 #CF2AB3 #DD59C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2087#FFFFFF#000000##FFFFFF
##9C20871.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)
#224D8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A42A52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2087;
/* rgb */ color: rgb(156, 32, 135);
/* oklch */ color: oklch(48.7% 0.191 336.2);
Tailwind
colors: {
  custom: {
    50: '#bd6baa',
    500: '#9c2087',
    950: '#000000',
  },
}
SCSS
$custom: #9c2087;
$custom-light: #bd6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2087",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 310.161,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.19063,
    "h": 336.2
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#9C2087
secondary
#57C169
accent
#E95C3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C2087

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

Preview Lab → · Contrast checker → · Palette generator →

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