#9A2D72#9A2D72

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

Color values

HEX#9A2D72
RGBrgb(154, 45, 114)
HSLhsl(322, 55%, 39%)
HSVhsv(322, 71%, 60%)
CMYKcmyk(0%, 70.8%, 26%, 39.6%)
CIE-LABlab(37.78, 51.58, -14.82)
CIE-LCHlch(37.78, 53.67, 343.97°)
OKLaboklab(48.49% 0.1561 -0.0393)
OKLCHoklch(48.49% 0.161 345.9)
XYZxyz(17.3028, 9.9635, 16.9282)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D72 #2D9A55
analogous
#8C2D9A #9A2D72 #9A2D3C
triadic
#9A2D72 #729A2D #2D729A
tetradic
#9A2D72 #9A8C2D #2D9A55 #2D3C9A
square
#9A2D72 #9A8C2D #2D9A55 #2D3C9A
split-complementary
#9A2D72 #3C9A2D #2D9A8C
monochromatic
#3B112C #6B1F4F #9A2D72 #C73E94 #D46DAE

Accessibility & contrast

On white

7.02
#9A2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2D72
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D72#FFFFFF#000000##FFFFFF
##9A2D721.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#5A606F
Tritanopia (blue-blind)
#A42B4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2d72;
/* rgb */ color: rgb(154, 45, 114);
/* oklch */ color: oklch(48.5% 0.161 345.9);
Tailwind
colors: {
  custom: {
    50: '#bb6f9a',
    500: '#9a2d72',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d72;
$custom-light: #bb6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d72",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 322.018,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.16099,
    "h": 345.9
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#9A2D72
secondary
#67BB86
accent
#DE804A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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