#9A2C76#9A2C76

#9A2C76 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.165 H 343.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9A2C76
RGBrgb(154, 44, 118)
HSLhsl(320, 56%, 39%)
HSVhsv(320, 71%, 60%)
CMYKcmyk(0%, 71.4%, 23.4%, 39.6%)
CIE-LABlab(37.81, 52.50, -17.28)
CIE-LCHlch(37.81, 55.27, 341.78°)
OKLaboklab(48.56% 0.1582 -0.0461)
OKLCHoklch(48.56% 0.165 343.7)
XYZxyz(17.4978, 9.9812, 18.1411)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C76 #2C9A50
analogous
#872C9A #9A2C76 #9A2C3F
triadic
#9A2C76 #769A2C #2C769A
tetradic
#9A2C76 #9A872C #2C9A50 #2C3F9A
square
#9A2C76 #9A872C #2C9A50 #2C3F9A
split-complementary
#9A2C76 #3F9A2C #2C9A87
monochromatic
#3B112D #6A1E52 #9A2C76 #C73C9A #D56CB2

Accessibility & contrast

On white

7.01
#9A2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A2C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2C76
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C76#FFFFFF#000000##FFFFFF
##9A2C761.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#A42C4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2c76;
/* rgb */ color: rgb(154, 44, 118);
/* oklch */ color: oklch(48.6% 0.165 343.7);
Tailwind
colors: {
  custom: {
    50: '#bb6f9d',
    500: '#9a2c76',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c76;
$custom-light: #bb6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c76",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 319.636,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.16474,
    "h": 343.7
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#9A2C76
secondary
#66BC82
accent
#DF7A49
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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