#9C2285#9C2285

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

Color values

HEX#9C2285
RGBrgb(156, 34, 133)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 61%)
CMYKcmyk(0%, 78.2%, 14.7%, 38.8%)
CIE-LABlab(37.68, 58.49, -26.78)
CIE-LCHlch(37.68, 64.33, 335.40°)
OKLaboklab(48.76% 0.1726 -0.0729)
OKLCHoklch(48.76% 0.187 337.1)
XYZxyz(18.5163, 9.9072, 23.1229)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2285 #229C39
analogous
#76229C #9C2285 #9C2248
triadic
#9C2285 #859C22 #22859C
tetradic
#9C2285 #9C7622 #229C39 #22489C
square
#9C2285 #9C7622 #229C39 #22489C
split-complementary
#9C2285 #489C22 #229C76
monochromatic
#380C2F #6A175A #9C2285 #CE2DB0 #DC5DC4

Accessibility & contrast

On white

7.04
#9C2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2285
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2285#FFFFFF#000000##FFFFFF
##9C22851.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A52A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2285;
/* rgb */ color: rgb(156, 34, 133);
/* oklch */ color: oklch(48.8% 0.187 337.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ba9',
    500: '#9c2285',
    950: '#000000',
  },
}
SCSS
$custom: #9c2285;
$custom-light: #bd6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2285",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 311.311,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.18732,
    "h": 337.1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#9C2285
secondary
#5AC06D
accent
#E76041
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2285

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

Preview Lab → · Contrast checker → · Palette generator →

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