#9A2D86#9A2D86

#9A2D86 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.174 H 336.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9A2D86
RGBrgb(154, 45, 134)
HSLhsl(311, 55%, 39%)
HSVhsv(311, 71%, 60%)
CMYKcmyk(0%, 70.8%, 13%, 39.6%)
CIE-LABlab(38.67, 54.46, -25.86)
CIE-LCHlch(38.67, 60.29, 334.60°)
OKLaboklab(49.43% 0.1596 -0.0704)
OKLCHoklch(49.43% 0.174 336.2)
XYZxyz(18.5682, 10.4697, 23.5926)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D86 #2D9A41
analogous
#782D9A #9A2D86 #9A2D50
triadic
#9A2D86 #869A2D #2D869A
tetradic
#9A2D86 #9A782D #2D9A41 #2D509A
square
#9A2D86 #9A782D #2D9A41 #2D509A
split-complementary
#9A2D86 #509A2D #2D9A78
monochromatic
#3B1134 #6B1F5D #9A2D86 #C73EAD #D46DC1

Accessibility & contrast

On white

6.79
#9A2D86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A2D86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D86
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D86#FFFFFF#000000##FFFFFF
##9A2D861.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A23456
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2d86;
/* rgb */ color: rgb(154, 45, 134);
/* oklch */ color: oklch(49.4% 0.174 336.2);
Tailwind
colors: {
  custom: {
    50: '#bb70a9',
    500: '#9a2d86',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d86;
$custom-light: #bb70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d86",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 311.009,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.17446,
    "h": 336.2
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#9A2D86
secondary
#67BB77
accent
#DE654A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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