#9C2182#9C2182

#9C2182 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.186 H 338.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9C2182
RGBrgb(156, 33, 130)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 61%)
CMYKcmyk(0%, 78.8%, 16.7%, 38.8%)
CIE-LABlab(37.42, 58.35, -25.31)
CIE-LCHlch(37.42, 63.61, 336.55°)
OKLaboklab(48.53% 0.1731 -0.0687)
OKLCHoklch(48.53% 0.186 338.4)
XYZxyz(18.2839, 9.7691, 22.0375)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2182 #219C3B
analogous
#79219C #9C2182 #9C2145
triadic
#9C2182 #829C21 #21829C
tetradic
#9C2182 #9C7921 #219C3B #21459C
square
#9C2182 #9C7921 #219C3B #21459C
split-complementary
#9C2182 #459C21 #219C79
monochromatic
#370C2E #691658 #9C2182 #CF2CAC #DC5BC1

Accessibility & contrast

On white

7.11
#9C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9C2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2182
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2182#FFFFFF#000000##FFFFFF
##9C21821.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A52850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2182;
/* rgb */ color: rgb(156, 33, 130);
/* oklch */ color: oklch(48.5% 0.186 338.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ba6',
    500: '#9c2182',
    950: '#000000',
  },
}
SCSS
$custom: #9c2182;
$custom-light: #bd6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2182",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 312.683,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.18627,
    "h": 338.4
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#9C2182
secondary
#58C16E
accent
#E86340
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C2182

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

Preview Lab → · Contrast checker → · Palette generator →

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