#9A2C72#9A2C72

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

Color values

HEX#9A2C72
RGBrgb(154, 44, 114)
HSLhsl(322, 56%, 39%)
HSVhsv(322, 71%, 60%)
CMYKcmyk(0%, 71.4%, 26%, 39.6%)
CIE-LABlab(37.64, 51.96, -15.03)
CIE-LCHlch(37.64, 54.09, 343.86°)
OKLaboklab(48.39% 0.1573 -0.0399)
OKLCHoklch(48.39% 0.162 345.8)
XYZxyz(17.2651, 9.8881, 16.9157)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C72 #2C9A54
analogous
#8B2C9A #9A2C72 #9A2C3B
triadic
#9A2C72 #729A2C #2C729A
tetradic
#9A2C72 #9A8B2C #2C9A54 #2C3B9A
square
#9A2C72 #9A8B2C #2C9A54 #2C3B9A
split-complementary
#9A2C72 #3B9A2C #2C9A8B
monochromatic
#3B112C #6A1E4F #9A2C72 #C73C95 #D56CAF

Accessibility & contrast

On white

7.05
#9A2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9A2C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2C72
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C72#FFFFFF#000000##FFFFFF
##9A2C721.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D74
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#A42A4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2c72;
/* rgb */ color: rgb(154, 44, 114);
/* oklch */ color: oklch(48.4% 0.162 345.8);
Tailwind
colors: {
  custom: {
    50: '#bb6f9a',
    500: '#9a2c72',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c72;
$custom-light: #bb6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c72",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 321.818,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.16226,
    "h": 345.8
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#9A2C72
secondary
#66BC85
accent
#DF7F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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