#9C2282#9C2282

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

Color values

HEX#9C2282
RGBrgb(156, 34, 130)
HSLhsl(313, 64%, 37%)
HSVhsv(313, 78%, 61%)
CMYKcmyk(0%, 78.2%, 16.7%, 38.8%)
CIE-LABlab(37.53, 58.06, -25.15)
CIE-LCHlch(37.53, 63.27, 336.58°)
OKLaboklab(48.61% 0.1722 -0.0683)
OKLCHoklch(48.61% 0.185 338.4)
XYZxyz(18.3120, 9.8255, 22.0469)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2282 #229C3C
analogous
#79229C #9C2282 #9C2245
triadic
#9C2282 #829C22 #22829C
tetradic
#9C2282 #9C7922 #229C3C #22459C
square
#9C2282 #9C7922 #229C3C #22459C
split-complementary
#9C2282 #459C22 #229C79
monochromatic
#380C2E #6A1758 #9C2282 #CE2DAC #DC5DC1

Accessibility & contrast

On white

7.08
#9C2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2282
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2282#FFFFFF#000000##FFFFFF
##9C22821.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2282;
/* rgb */ color: rgb(156, 34, 130);
/* oklch */ color: oklch(48.6% 0.185 338.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ba6',
    500: '#9c2282',
    950: '#000000',
  },
}
SCSS
$custom: #9c2282;
$custom-light: #bd6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2282",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 312.787,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48606,
    "c": 0.18527,
    "h": 338.4
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#9C2282
secondary
#5AC06F
accent
#E76441
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C2282

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

Preview Lab → · Contrast checker → · Palette generator →

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