#9C1B83#9C1B83

#9C1B83 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.192 H 337.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9C1B83
RGBrgb(156, 27, 131)
HSLhsl(312, 70%, 36%)
HSVhsv(312, 83%, 61%)
CMYKcmyk(0%, 82.7%, 16%, 38.8%)
CIE-LABlab(36.92, 60.10, -26.73)
CIE-LCHlch(36.92, 65.78, 336.02°)
OKLaboklab(48.18% 0.1781 -0.0727)
OKLCHoklch(48.18% 0.192 337.8)
XYZxyz(18.1994, 9.4923, 22.3421)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B83 #1B9C34
analogous
#741B9C #9C1B83 #9C1B42
triadic
#9C1B83 #839C1B #1B839C
tetradic
#9C1B83 #9C741B #1B9C34 #1B429C
square
#9C1B83 #9C741B #1B9C34 #1B429C
split-complementary
#9C1B83 #429C1B #1B9C74
monochromatic
#34092B #681257 #9C1B83 #D024AF #E151C5

Accessibility & contrast

On white

7.25
#9C1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9C1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1B83
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B83#FFFFFF#000000##FFFFFF
##9C1B831.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A5244F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1b83;
/* rgb */ color: rgb(156, 27, 131);
/* oklch */ color: oklch(48.2% 0.192 337.8);
Tailwind
colors: {
  custom: {
    50: '#bd69a7',
    500: '#9c1b83',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b83;
$custom-light: #bd69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b83",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 311.628,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.19235,
    "h": 337.8
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#9C1B83
secondary
#4FC366
accent
#ED5D3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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