#9C2487#9C2487

#9C2487 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.187 H 336.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9C2487
RGBrgb(156, 36, 135)
HSLhsl(311, 63%, 38%)
HSVhsv(311, 77%, 61%)
CMYKcmyk(0%, 76.9%, 13.5%, 38.8%)
CIE-LABlab(37.99, 58.18, -27.53)
CIE-LCHlch(37.99, 64.36, 334.68°)
OKLaboklab(49.02% 0.1709 -0.075)
OKLCHoklch(49.02% 0.187 336.3)
XYZxyz(18.7147, 10.0807, 23.8771)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2487 #249C39
analogous
#75249C #9C2487 #9C244B
triadic
#9C2487 #879C24 #24879C
tetradic
#9C2487 #9C7524 #249C39 #244B9C
square
#9C2487 #9C7524 #249C39 #244B9C
split-complementary
#9C2487 #4B9C24 #249C75
monochromatic
#390D31 #6A195C #9C2487 #CE2FB2 #DA60C5

Accessibility & contrast

On white

6.96
#9C2487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9C2487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2487
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2487#FFFFFF#000000##FFFFFF
##9C24871.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A42D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2487;
/* rgb */ color: rgb(156, 36, 135);
/* oklch */ color: oklch(49.0% 0.187 336.3);
Tailwind
colors: {
  custom: {
    50: '#bd6caa',
    500: '#9c2487',
    950: '#000000',
  },
}
SCSS
$custom: #9c2487;
$custom-light: #bd6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2487",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 310.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.18667,
    "h": 336.3
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#9C2487
secondary
#5CBF6E
accent
#E65F42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2487

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

Preview Lab → · Contrast checker → · Palette generator →

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