#9C2883#9C2883

#9C2883 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.180 H 338.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9C2883
RGBrgb(156, 40, 131)
HSLhsl(313, 59%, 38%)
HSVhsv(313, 74%, 61%)
CMYKcmyk(0%, 74.4%, 16%, 38.8%)
CIE-LABlab(38.24, 56.30, -24.65)
CIE-LCHlch(38.24, 61.46, 336.35°)
OKLaboklab(49.14% 0.1666 -0.0669)
OKLCHoklch(49.14% 0.18 338.1)
XYZxyz(18.5662, 10.2260, 22.4643)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2883 #289C41
analogous
#7B289C #9C2883 #9C2849
triadic
#9C2883 #839C28 #28839C
tetradic
#9C2883 #9C7B28 #289C41 #28499C
square
#9C2883 #9C7B28 #289C41 #28499C
split-complementary
#9C2883 #499C28 #289C7B
monochromatic
#3B0F31 #6B1C5A #9C2883 #CB36AB #D867BF

Accessibility & contrast

On white

6.90
#9C2883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C2883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2883
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2883#FFFFFF#000000##FFFFFF
##9C28831.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F85
Deuteranopia (green-blind)
#546080
Tritanopia (blue-blind)
#A52E52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2883;
/* rgb */ color: rgb(156, 40, 131);
/* oklch */ color: oklch(49.1% 0.180 338.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ea7',
    500: '#9c2883',
    950: '#000000',
  },
}
SCSS
$custom: #9c2883;
$custom-light: #bd6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2883",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 312.931,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49139,
    "c": 0.17954,
    "h": 338.1
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#9C2883
secondary
#62BE76
accent
#E26745
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2883

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

Preview Lab → · Contrast checker → · Palette generator →

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