#9C2180#9C2180

#9C2180 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.185 H 339.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C2180
RGBrgb(156, 33, 128)
HSLhsl(314, 65%, 37%)
HSVhsv(314, 79%, 61%)
CMYKcmyk(0%, 78.8%, 17.9%, 38.8%)
CIE-LABlab(37.33, 58.07, -24.22)
CIE-LCHlch(37.33, 62.92, 337.36°)
OKLaboklab(48.43% 0.1729 -0.0656)
OKLCHoklch(48.43% 0.185 339.2)
XYZxyz(18.1509, 9.7160, 21.3373)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2180 #219C3D
analogous
#7B219C #9C2180 #9C2142
triadic
#9C2180 #809C21 #21809C
tetradic
#9C2180 #9C7B21 #219C3D #21429C
square
#9C2180 #9C7B21 #219C3D #21429C
split-complementary
#9C2180 #429C21 #219C7B
monochromatic
#370C2D #691657 #9C2180 #CF2CA9 #DC5BBF

Accessibility & contrast

On white

7.14
#9C2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2180
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2180#FFFFFF#000000##FFFFFF
##9C21801.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C82
Deuteranopia (green-blind)
#535F7D
Tritanopia (blue-blind)
#A5274F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2180;
/* rgb */ color: rgb(156, 33, 128);
/* oklch */ color: oklch(48.4% 0.185 339.2);
Tailwind
colors: {
  custom: {
    50: '#bd6ba5',
    500: '#9c2180',
    950: '#000000',
  },
}
SCSS
$custom: #9c2180;
$custom-light: #bd6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2180",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 313.659,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.18493,
    "h": 339.2
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#9C2180
secondary
#58C170
accent
#E86640
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C2180

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

Preview Lab → · Contrast checker → · Palette generator →

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