#9A2C71#9A2C71

#9A2C71 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.162 H 346.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9A2C71
RGBrgb(154, 44, 113)
HSLhsl(322, 56%, 39%)
HSVhsv(322, 71%, 60%)
CMYKcmyk(0%, 71.4%, 26.6%, 39.6%)
CIE-LABlab(37.60, 51.83, -14.47)
CIE-LCHlch(37.60, 53.81, 344.40°)
OKLaboklab(48.34% 0.1571 -0.0383)
OKLCHoklch(48.34% 0.162 346.3)
XYZxyz(17.2085, 9.8655, 16.6175)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C71 #2C9A55
analogous
#8C2C9A #9A2C71 #9A2C3A
triadic
#9A2C71 #719A2C #2C719A
tetradic
#9A2C71 #9A8C2C #2C9A55 #2C3A9A
square
#9A2C71 #9A8C2C #2C9A55 #2C3A9A
split-complementary
#9A2C71 #3A9A2C #2C9A8C
monochromatic
#3B112B #6A1E4E #9A2C71 #C73C93 #D56CAE

Accessibility & contrast

On white

7.06
#9A2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2C71
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C71#FFFFFF#000000##FFFFFF
##9A2C711.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A5294A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2c71;
/* rgb */ color: rgb(154, 44, 113);
/* oklch */ color: oklch(48.3% 0.162 346.3);
Tailwind
colors: {
  custom: {
    50: '#bb6f9a',
    500: '#9a2c71',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c71;
$custom-light: #bb6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c71",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 322.364,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.16166,
    "h": 346.3
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#9A2C71
secondary
#66BC86
accent
#DF8149
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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