#9A2586#9A2586

#9A2586 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.184 H 336.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9A2586
RGBrgb(154, 37, 134)
HSLhsl(310, 61%, 37%)
HSVhsv(310, 76%, 60%)
CMYKcmyk(0%, 76%, 13%, 39.6%)
CIE-LABlab(37.69, 57.24, -27.40)
CIE-LCHlch(37.69, 63.46, 334.42°)
OKLaboklab(48.72% 0.1679 -0.0747)
OKLCHoklch(48.72% 0.184 336)
XYZxyz(18.2914, 9.9161, 23.5003)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2586 #259A39
analogous
#73259A #9A2586 #9A254C
triadic
#9A2586 #869A25 #25869A
tetradic
#9A2586 #9A7325 #259A39 #254C9A
square
#9A2586 #9A7325 #259A39 #254C9A
split-complementary
#9A2586 #4C9A25 #259A73
monochromatic
#370D30 #69195B #9A2586 #CB31B1 #D960C4

Accessibility & contrast

On white

7.04
#9A2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9A2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2586
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2586#FFFFFF#000000##FFFFFF
##9A25861.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A22E53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2586;
/* rgb */ color: rgb(154, 37, 134);
/* oklch */ color: oklch(48.7% 0.184 336.0);
Tailwind
colors: {
  custom: {
    50: '#bb6ca9',
    500: '#9a2586',
    950: '#000000',
  },
}
SCSS
$custom: #9a2586;
$custom-light: #bb6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2586",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 310.256,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.18377,
    "h": 336
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#9A2586
secondary
#5DBE6D
accent
#E45F43
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2586

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

Preview Lab → · Contrast checker → · Palette generator →

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