#9C2183#9C2183

#9C2183 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.187 H 337.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9C2183
RGBrgb(156, 33, 131)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 61%)
CMYKcmyk(0%, 78.8%, 16%, 38.8%)
CIE-LABlab(37.47, 58.50, -25.86)
CIE-LCHlch(37.47, 63.96, 336.15°)
OKLaboklab(48.58% 0.1732 -0.0703)
OKLCHoklch(48.58% 0.187 337.9)
XYZxyz(18.3513, 9.7961, 22.3927)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2183 #219C3A
analogous
#78219C #9C2183 #9C2146
triadic
#9C2183 #839C21 #21839C
tetradic
#9C2183 #9C7821 #219C3A #21469C
square
#9C2183 #9C7821 #219C3A #21469C
split-complementary
#9C2183 #469C21 #219C78
monochromatic
#370C2E #691659 #9C2183 #CF2CAD #DC5BC2

Accessibility & contrast

On white

7.10
#9C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2183
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2183#FFFFFF#000000##FFFFFF
##9C21831.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A52850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2183;
/* rgb */ color: rgb(156, 33, 131);
/* oklch */ color: oklch(48.6% 0.187 337.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ba7',
    500: '#9c2183',
    950: '#000000',
  },
}
SCSS
$custom: #9c2183;
$custom-light: #bd6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2183",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 312.195,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.18694,
    "h": 337.9
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#9C2183
secondary
#58C16D
accent
#E86240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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