#9A2A71#9A2A71

#9A2A71 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.164 H 346.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9A2A71
RGBrgb(154, 42, 113)
HSLhsl(322, 57%, 38%)
HSVhsv(322, 73%, 60%)
CMYKcmyk(0%, 72.7%, 26.6%, 39.6%)
CIE-LABlab(37.34, 52.57, -14.87)
CIE-LCHlch(37.34, 54.63, 344.20°)
OKLaboklab(48.15% 0.1594 -0.0394)
OKLCHoklch(48.15% 0.164 346.1)
XYZxyz(17.1358, 9.7200, 16.5933)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A71 #2A9A53
analogous
#8B2A9A #9A2A71 #9A2A39
triadic
#9A2A71 #719A2A #2A719A
tetradic
#9A2A71 #9A8B2A #2A9A53 #2A399A
square
#9A2A71 #9A8B2A #2A9A53 #2A399A
split-complementary
#9A2A71 #399A2A #2A9A8B
monochromatic
#3A102A #6A1D4E #9A2A71 #C93894 #D668AE

Accessibility & contrast

On white

7.13
#9A2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2A71
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A71#FFFFFF#000000##FFFFFF
##9A2A711.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#A5274A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2a71;
/* rgb */ color: rgb(154, 42, 113);
/* oklch */ color: oklch(48.1% 0.164 346.1);
Tailwind
colors: {
  custom: {
    50: '#bc6e9a',
    500: '#9a2a71',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a71;
$custom-light: #bc6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a71",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 321.964,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.16416,
    "h": 346.1
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#9A2A71
secondary
#63BC84
accent
#E07F47
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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