#9C2082#9C2082

#9C2082 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.187 H 338.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C2082
RGBrgb(156, 32, 130)
HSLhsl(313, 66%, 37%)
HSVhsv(313, 79%, 61%)
CMYKcmyk(0%, 79.5%, 16.7%, 38.8%)
CIE-LABlab(37.32, 58.64, -25.47)
CIE-LCHlch(37.32, 63.93, 336.52°)
OKLaboklab(48.46% 0.174 -0.0691)
OKLCHoklch(48.46% 0.187 338.3)
XYZxyz(18.2565, 9.7144, 22.0284)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2082 #209C3A
analogous
#78209C #9C2082 #9C2044
triadic
#9C2082 #829C20 #20829C
tetradic
#9C2082 #9C7820 #209C3A #20449C
square
#9C2082 #9C7820 #209C3A #20449C
split-complementary
#9C2082 #449C20 #209C78
monochromatic
#360B2D #691658 #9C2082 #CF2AAC #DD59C1

Accessibility & contrast

On white

7.14
#9C2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2082
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2082#FFFFFF#000000##FFFFFF
##9C20821.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A52750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2082;
/* rgb */ color: rgb(156, 32, 130);
/* oklch */ color: oklch(48.5% 0.187 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd6ba6',
    500: '#9c2082',
    950: '#000000',
  },
}
SCSS
$custom: #9c2082;
$custom-light: #bd6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2082",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 312.581,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.18723,
    "h": 338.3
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#9C2082
secondary
#57C16D
accent
#E9633F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C2082

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

Preview Lab → · Contrast checker → · Palette generator →

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