#9C2286#9C2286

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

Color values

HEX#9C2286
RGBrgb(156, 34, 134)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 61%)
CMYKcmyk(0%, 78.2%, 14.1%, 38.8%)
CIE-LABlab(37.73, 58.64, -27.32)
CIE-LCHlch(37.73, 64.69, 335.02°)
OKLaboklab(48.81% 0.1726 -0.0744)
OKLCHoklch(48.81% 0.188 336.7)
XYZxyz(18.5858, 9.9350, 23.4884)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2286 #229C38
analogous
#75229C #9C2286 #9C2249
triadic
#9C2286 #869C22 #22869C
tetradic
#9C2286 #9C7522 #229C38 #22499C
square
#9C2286 #9C7522 #229C38 #22499C
split-complementary
#9C2286 #499C22 #229C75
monochromatic
#380C30 #6A175B #9C2286 #CE2DB1 #DC5DC5

Accessibility & contrast

On white

7.03
#9C2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9C2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2286
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2286#FFFFFF#000000##FFFFFF
##9C22861.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A42B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2286;
/* rgb */ color: rgb(156, 34, 134);
/* oklch */ color: oklch(48.8% 0.188 336.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ca9',
    500: '#9c2286',
    950: '#000000',
  },
}
SCSS
$custom: #9c2286;
$custom-light: #bd6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2286",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 310.82,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.18801,
    "h": 336.7
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#9C2286
secondary
#5AC06C
accent
#E75F41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2286

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

Preview Lab → · Contrast checker → · Palette generator →

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