#9A2F71#9A2F71

#9A2F71 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.158 H 346.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9A2F71
RGBrgb(154, 47, 113)
HSLhsl(323, 53%, 39%)
HSVhsv(323, 69%, 60%)
CMYKcmyk(0%, 69.5%, 26.6%, 39.6%)
CIE-LABlab(38.02, 50.66, -13.83)
CIE-LCHlch(38.02, 52.52, 344.73°)
OKLaboklab(48.65% 0.1535 -0.0366)
OKLCHoklch(48.65% 0.158 346.6)
XYZxyz(17.3243, 10.0971, 16.6562)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F71 #2F9A58
analogous
#8E2F9A #9A2F71 #9A2F3B
triadic
#9A2F71 #719A2F #2F719A
tetradic
#9A2F71 #9A8E2F #2F9A58 #2F3B9A
square
#9A2F71 #9A8E2F #2F9A58 #2F3B9A
split-complementary
#9A2F71 #3B9A2F #2F9A8E
monochromatic
#3C122C #6B214F #9A2F71 #C54193 #D370AD

Accessibility & contrast

On white

6.96
#9A2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F71
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F71#FFFFFF#000000##FFFFFF
##9A2F711.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2f71;
/* rgb */ color: rgb(154, 47, 113);
/* oklch */ color: oklch(48.6% 0.158 346.6);
Tailwind
colors: {
  custom: {
    50: '#bb709a',
    500: '#9a2f71',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f71;
$custom-light: #bb709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f71",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 322.991,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.15776,
    "h": 346.6
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#9A2F71
secondary
#6ABB89
accent
#DD834B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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