#9C2284#9C2284

#9C2284 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 337.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C2284
RGBrgb(156, 34, 132)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 61%)
CMYKcmyk(0%, 78.2%, 15.4%, 38.8%)
CIE-LABlab(37.63, 58.35, -26.24)
CIE-LCHlch(37.63, 63.98, 335.79°)
OKLaboklab(48.71% 0.1725 -0.0714)
OKLCHoklch(48.71% 0.187 337.5)
XYZxyz(18.4476, 9.8797, 22.7607)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2284 #229C3A
analogous
#77229C #9C2284 #9C2247
triadic
#9C2284 #849C22 #22849C
tetradic
#9C2284 #9C7722 #229C3A #22479C
square
#9C2284 #9C7722 #229C3A #22479C
split-complementary
#9C2284 #479C22 #229C77
monochromatic
#380C2F #6A1759 #9C2284 #CE2DAF #DC5DC3

Accessibility & contrast

On white

7.06
#9C2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2284
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2284#FFFFFF#000000##FFFFFF
##9C22841.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A52A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2284;
/* rgb */ color: rgb(156, 34, 132);
/* oklch */ color: oklch(48.7% 0.187 337.5);
Tailwind
colors: {
  custom: {
    50: '#bd6ba8',
    500: '#9c2284',
    950: '#000000',
  },
}
SCSS
$custom: #9c2284;
$custom-light: #bd6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2284",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 311.803,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.18663,
    "h": 337.5
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#9C2284
secondary
#5AC06E
accent
#E76141
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C2284

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

Preview Lab → · Contrast checker → · Palette generator →

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