#9C2687#9C2687

#9C2687 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.185 H 336.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9C2687
RGBrgb(156, 38, 135)
HSLhsl(311, 61%, 38%)
HSVhsv(311, 76%, 61%)
CMYKcmyk(0%, 75.6%, 13.5%, 38.8%)
CIE-LABlab(38.21, 57.55, -27.18)
CIE-LCHlch(38.21, 63.64, 334.72°)
OKLaboklab(49.18% 0.169 -0.0741)
OKLCHoklch(49.18% 0.185 336.3)
XYZxyz(18.7769, 10.2051, 23.8979)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2687 #269C3B
analogous
#76269C #9C2687 #9C264C
triadic
#9C2687 #879C26 #26879C
tetradic
#9C2687 #9C7626 #269C3B #264C9C
square
#9C2687 #9C7626 #269C3B #264C9C
split-complementary
#9C2687 #4C9C26 #269C76
monochromatic
#3A0E32 #6B1A5C #9C2687 #CD32B2 #D963C4

Accessibility & contrast

On white

6.91
#9C2687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C2687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2687
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2687#FFFFFF#000000##FFFFFF
##9C26871.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#526084
Tritanopia (blue-blind)
#A42E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2687;
/* rgb */ color: rgb(156, 38, 135);
/* oklch */ color: oklch(49.2% 0.185 336.3);
Tailwind
colors: {
  custom: {
    50: '#bd6daa',
    500: '#9c2687',
    950: '#000000',
  },
}
SCSS
$custom: #9c2687;
$custom-light: #bd6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2687",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 310.678,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.18456,
    "h": 336.3
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#9C2687
secondary
#5FBF70
accent
#E46044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2687

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

Preview Lab → · Contrast checker → · Palette generator →

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