#9A2A85#9A2A85

#9A2A85 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.177 H 336.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9A2A85
RGBrgb(154, 42, 133)
HSLhsl(311, 57%, 38%)
HSVhsv(311, 73%, 60%)
CMYKcmyk(0%, 72.7%, 13.6%, 39.6%)
CIE-LABlab(38.24, 55.40, -25.93)
CIE-LCHlch(38.24, 61.17, 334.92°)
OKLaboklab(49.1% 0.1628 -0.0706)
OKLCHoklch(49.1% 0.177 336.6)
XYZxyz(18.3883, 10.2211, 23.1902)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A85 #2A9A3F
analogous
#772A9A #9A2A85 #9A2A4D
triadic
#9A2A85 #859A2A #2A859A
tetradic
#9A2A85 #9A772A #2A9A3F #2A4D9A
square
#9A2A85 #9A772A #2A9A3F #2A4D9A
split-complementary
#9A2A85 #4D9A2A #2A9A77
monochromatic
#3A1032 #6A1D5B #9A2A85 #C938AE #D668C1

Accessibility & contrast

On white

6.90
#9A2A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A2A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2A85
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A85#FFFFFF#000000##FFFFFF
##9A2A851.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#A23154
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2a85;
/* rgb */ color: rgb(154, 42, 133);
/* oklch */ color: oklch(49.1% 0.177 336.6);
Tailwind
colors: {
  custom: {
    50: '#bb6ea9',
    500: '#9a2a85',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a85;
$custom-light: #bb6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a85",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 311.25,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.1774,
    "h": 336.6
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#9A2A85
secondary
#63BC74
accent
#E06447
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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