#9A2E72#9A2E72

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

Color values

HEX#9A2E72
RGBrgb(154, 46, 114)
HSLhsl(322, 54%, 39%)
HSVhsv(322, 70%, 60%)
CMYKcmyk(0%, 70.1%, 26%, 39.6%)
CIE-LABlab(37.92, 51.19, -14.61)
CIE-LCHlch(37.92, 53.24, 344.07°)
OKLaboklab(48.59% 0.1549 -0.0387)
OKLCHoklch(48.59% 0.16 346)
XYZxyz(17.3414, 10.0407, 16.9411)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E72 #2E9A56
analogous
#8C2E9A #9A2E72 #9A2E3C
triadic
#9A2E72 #729A2E #2E729A
tetradic
#9A2E72 #9A8C2E #2E9A56 #2E3C9A
square
#9A2E72 #9A8C2E #2E9A56 #2E3C9A
split-complementary
#9A2E72 #3C9A2E #2E9A8C
monochromatic
#3C122C #6B204F #9A2E72 #C63F94 #D46FAE

Accessibility & contrast

On white

6.98
#9A2E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A2E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E72
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E72#FFFFFF#000000##FFFFFF
##9A2E721.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A42C4C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2e72;
/* rgb */ color: rgb(154, 46, 114);
/* oklch */ color: oklch(48.6% 0.160 346.0);
Tailwind
colors: {
  custom: {
    50: '#bb709a',
    500: '#9a2e72',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e72;
$custom-light: #bb709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e72",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 322.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.15968,
    "h": 346
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#9A2E72
secondary
#69BB87
accent
#DD814A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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