#9C2181#9C2181

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

Color values

HEX#9C2181
RGBrgb(156, 33, 129)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 61%)
CMYKcmyk(0%, 78.8%, 17.3%, 38.8%)
CIE-LABlab(37.38, 58.21, -24.77)
CIE-LCHlch(37.38, 63.26, 336.95°)
OKLaboklab(48.48% 0.173 -0.0672)
OKLCHoklch(48.48% 0.186 338.8)
XYZxyz(18.2171, 9.7424, 21.6857)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2181 #219C3C
analogous
#7A219C #9C2181 #9C2143
triadic
#9C2181 #819C21 #21819C
tetradic
#9C2181 #9C7A21 #219C3C #21439C
square
#9C2181 #9C7A21 #219C3C #21439C
split-complementary
#9C2181 #439C21 #219C7A
monochromatic
#370C2D #691657 #9C2181 #CF2CAB #DC5BC0

Accessibility & contrast

On white

7.12
#9C2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2181
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2181#FFFFFF#000000##FFFFFF
##9C21811.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#A5274F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2181;
/* rgb */ color: rgb(156, 33, 129);
/* oklch */ color: oklch(48.5% 0.186 338.8);
Tailwind
colors: {
  custom: {
    50: '#bd6ba6',
    500: '#9c2181',
    950: '#000000',
  },
}
SCSS
$custom: #9c2181;
$custom-light: #bd6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2181",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 313.171,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.1856,
    "h": 338.8
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#9C2181
secondary
#58C16F
accent
#E86540
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C2181

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

Preview Lab → · Contrast checker → · Palette generator →

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