#9A2D71#9A2D71

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

Color values

HEX#9A2D71
RGBrgb(154, 45, 113)
HSLhsl(323, 55%, 39%)
HSVhsv(323, 71%, 60%)
CMYKcmyk(0%, 70.8%, 26.6%, 39.6%)
CIE-LABlab(37.74, 51.45, -14.26)
CIE-LCHlch(37.74, 53.38, 344.51°)
OKLaboklab(48.44% 0.1559 -0.0377)
OKLCHoklch(48.44% 0.16 346.4)
XYZxyz(17.2462, 9.9409, 16.6301)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D71 #2D9A56
analogous
#8D2D9A #9A2D71 #9A2D3B
triadic
#9A2D71 #719A2D #2D719A
tetradic
#9A2D71 #9A8D2D #2D9A56 #2D3B9A
square
#9A2D71 #9A8D2D #2D9A56 #2D3B9A
split-complementary
#9A2D71 #3B9A2D #2D9A8D
monochromatic
#3B112B #6B1F4E #9A2D71 #C73E93 #D46DAD

Accessibility & contrast

On white

7.03
#9A2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9A2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2D71
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D71#FFFFFF#000000##FFFFFF
##9A2D711.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2d71;
/* rgb */ color: rgb(154, 45, 113);
/* oklch */ color: oklch(48.4% 0.160 346.4);
Tailwind
colors: {
  custom: {
    50: '#bb6f9a',
    500: '#9a2d71',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d71;
$custom-light: #bb6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d71",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 322.569,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.16038,
    "h": 346.4
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#9A2D71
secondary
#67BB87
accent
#DE824A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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