#9C2283#9C2283

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

Color values

HEX#9C2283
RGBrgb(156, 34, 131)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 61%)
CMYKcmyk(0%, 78.2%, 16%, 38.8%)
CIE-LABlab(37.58, 58.20, -25.70)
CIE-LCHlch(37.58, 63.62, 336.18°)
OKLaboklab(48.66% 0.1724 -0.0698)
OKLCHoklch(48.66% 0.186 337.9)
XYZxyz(18.3795, 9.8524, 22.4021)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2283 #229C3B
analogous
#78229C #9C2283 #9C2246
triadic
#9C2283 #839C22 #22839C
tetradic
#9C2283 #9C7822 #229C3B #22469C
square
#9C2283 #9C7822 #229C3B #22469C
split-complementary
#9C2283 #469C22 #229C78
monochromatic
#380C2F #6A1759 #9C2283 #CE2DAD #DC5DC2

Accessibility & contrast

On white

7.07
#9C2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2283
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2283#FFFFFF#000000##FFFFFF
##9C22831.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A52951
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2283;
/* rgb */ color: rgb(156, 34, 131);
/* oklch */ color: oklch(48.7% 0.186 337.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ba7',
    500: '#9c2283',
    950: '#000000',
  },
}
SCSS
$custom: #9c2283;
$custom-light: #bd6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2283",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 312.295,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.18595,
    "h": 337.9
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2283

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

Preview Lab → · Contrast checker → · Palette generator →

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