#9A2A72#9A2A72

#9A2A72 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.165 H 345.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9A2A72
RGBrgb(154, 42, 114)
HSLhsl(321, 57%, 38%)
HSVhsv(321, 73%, 60%)
CMYKcmyk(0%, 72.7%, 26%, 39.6%)
CIE-LABlab(37.38, 52.70, -15.44)
CIE-LCHlch(37.38, 54.91, 343.67°)
OKLaboklab(48.19% 0.1596 -0.041)
OKLCHoklch(48.19% 0.165 345.6)
XYZxyz(17.1924, 9.7427, 16.8914)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A72 #2A9A52
analogous
#8A2A9A #9A2A72 #9A2A3A
triadic
#9A2A72 #729A2A #2A729A
tetradic
#9A2A72 #9A8A2A #2A9A52 #2A3A9A
square
#9A2A72 #9A8A2A #2A9A52 #2A3A9A
split-complementary
#9A2A72 #3A9A2A #2A9A8A
monochromatic
#3A102B #6A1D4E #9A2A72 #C93895 #D668AF

Accessibility & contrast

On white

7.12
#9A2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9A2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2A72
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A72#FFFFFF#000000##FFFFFF
##9A2A721.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#A5284A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2a72;
/* rgb */ color: rgb(154, 42, 114);
/* oklch */ color: oklch(48.2% 0.165 345.6);
Tailwind
colors: {
  custom: {
    50: '#bc6e9a',
    500: '#9a2a72',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a72;
$custom-light: #bc6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a72",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 321.429,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.16476,
    "h": 345.6
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#9A2A72
secondary
#63BC83
accent
#E07E47
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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