#9C2288#9C2288

#9C2288 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.189 H 335.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9C2288
RGBrgb(156, 34, 136)
HSLhsl(310, 64%, 37%)
HSVhsv(310, 78%, 61%)
CMYKcmyk(0%, 78.2%, 12.8%, 38.8%)
CIE-LABlab(37.83, 58.93, -28.39)
CIE-LCHlch(37.83, 65.42, 334.28°)
OKLaboklab(48.92% 0.1728 -0.0775)
OKLCHoklch(48.92% 0.189 335.8)
XYZxyz(18.7266, 9.9913, 24.2300)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2288 #229C36
analogous
#73229C #9C2288 #9C224B
triadic
#9C2288 #889C22 #22889C
tetradic
#9C2288 #9C7322 #229C36 #224B9C
square
#9C2288 #9C7322 #229C36 #224B9C
split-complementary
#9C2288 #4B9C22 #229C73
monochromatic
#380C30 #6A175C #9C2288 #CE2DB4 #DC5DC7

Accessibility & contrast

On white

7.00
#9C2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9C2288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2288
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2288#FFFFFF#000000##FFFFFF
##9C22881.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#505F85
Tritanopia (blue-blind)
#A42C53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2288;
/* rgb */ color: rgb(156, 34, 136);
/* oklch */ color: oklch(48.9% 0.189 335.8);
Tailwind
colors: {
  custom: {
    50: '#bd6cab',
    500: '#9c2288',
    950: '#000000',
  },
}
SCSS
$custom: #9c2288;
$custom-light: #bd6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2288",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 309.836,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.18939,
    "h": 335.8
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#9C2288
secondary
#5AC06A
accent
#E75C41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2288

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

Preview Lab → · Contrast checker → · Palette generator →

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