#9C2292#9C2292

#9C2292 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.197 H 331.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C2292
RGBrgb(156, 34, 146)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 61%)
CMYKcmyk(0%, 78.2%, 6.4%, 38.8%)
CIE-LABlab(38.36, 60.45, -33.69)
CIE-LCHlch(38.36, 69.21, 330.87°)
OKLaboklab(49.47% 0.1733 -0.0928)
OKLCHoklch(49.47% 0.197 331.8)
XYZxyz(19.4707, 10.2889, 28.1490)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2292 #229C2C
analogous
#69229C #9C2292 #9C2255
triadic
#9C2292 #929C22 #22929C
tetradic
#9C2292 #9C6922 #229C2C #22559C
square
#9C2292 #9C6922 #229C2C #22559C
split-complementary
#9C2292 #559C22 #229C69
monochromatic
#380C34 #6A1763 #9C2292 #CE2DC1 #DC5DD1

Accessibility & contrast

On white

6.87
#9C2292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2292
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2292#FFFFFF#000000##FFFFFF
##9C22921.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#4B608F
Tritanopia (blue-blind)
#A33159
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2292;
/* rgb */ color: rgb(156, 34, 146);
/* oklch */ color: oklch(49.5% 0.197 331.8);
Tailwind
colors: {
  custom: {
    50: '#bd6cb2',
    500: '#9c2292',
    950: '#000000',
  },
}
SCSS
$custom: #9c2292;
$custom-light: #bd6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2292",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 304.918,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.19657,
    "h": 331.8
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#9C2292
secondary
#5AC062
accent
#E74E41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2292

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

Preview Lab → · Contrast checker → · Palette generator →

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