#9A2E71#9A2E71

#9A2E71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.159 H 346.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9A2E71
RGBrgb(154, 46, 113)
HSLhsl(323, 54%, 39%)
HSVhsv(323, 70%, 60%)
CMYKcmyk(0%, 70.1%, 26.6%, 39.6%)
CIE-LABlab(37.87, 51.06, -14.05)
CIE-LCHlch(37.87, 52.96, 344.62°)
OKLaboklab(48.54% 0.1547 -0.0371)
OKLCHoklch(48.54% 0.159 346.5)
XYZxyz(17.2848, 10.0181, 16.6430)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E71 #2E9A57
analogous
#8D2E9A #9A2E71 #9A2E3B
triadic
#9A2E71 #719A2E #2E719A
tetradic
#9A2E71 #9A8D2E #2E9A57 #2E3B9A
square
#9A2E71 #9A8D2E #2E9A57 #2E3B9A
split-complementary
#9A2E71 #3B9A2E #2E9A8D
monochromatic
#3C122C #6B204E #9A2E71 #C63F93 #D46FAD

Accessibility & contrast

On white

6.99
#9A2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9A2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E71
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E71#FFFFFF#000000##FFFFFF
##9A2E711.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A52B4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2e71;
/* rgb */ color: rgb(154, 46, 113);
/* oklch */ color: oklch(48.5% 0.159 346.5);
Tailwind
colors: {
  custom: {
    50: '#bb709a',
    500: '#9a2e71',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e71;
$custom-light: #bb709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e71",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 322.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.15909,
    "h": 346.5
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#9A2E71
secondary
#69BB88
accent
#DD824A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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