#9A2885#9A2885

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

Color values

HEX#9A2885
RGBrgb(154, 40, 133)
HSLhsl(311, 59%, 38%)
HSVhsv(311, 74%, 60%)
CMYKcmyk(0%, 74%, 13.6%, 39.6%)
CIE-LABlab(37.99, 56.10, -26.31)
CIE-LCHlch(37.99, 61.97, 334.87°)
OKLaboklab(48.92% 0.1648 -0.0716)
OKLCHoklch(48.92% 0.18 336.5)
XYZxyz(18.3192, 10.0827, 23.1671)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2885 #289A3D
analogous
#76289A #9A2885 #9A284C
triadic
#9A2885 #859A28 #28859A
tetradic
#9A2885 #9A7628 #289A3D #284C9A
square
#9A2885 #9A7628 #289A3D #284C9A
split-complementary
#9A2885 #4C9A28 #289A76
monochromatic
#390F31 #691B5B #9A2885 #CA35AF #D765C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2885#FFFFFF#000000##FFFFFF
##9A28851.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)
#2A4E88
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#A23053
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2885;
/* rgb */ color: rgb(154, 40, 133);
/* oklch */ color: oklch(48.9% 0.180 336.5);
Tailwind
colors: {
  custom: {
    50: '#bb6ea9',
    500: '#9a2885',
    950: '#000000',
  },
}
SCSS
$custom: #9a2885;
$custom-light: #bb6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2885",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 311.053,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.17973,
    "h": 336.5
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#9A2885
secondary
#61BD72
accent
#E26346
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2885

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

Preview Lab → · Contrast checker → · Palette generator →

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