#9A2082#9A2082

#9A2082 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 337.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9A2082
RGBrgb(154, 32, 130)
HSLhsl(312, 66%, 36%)
HSVhsv(312, 79%, 60%)
CMYKcmyk(0%, 79.2%, 15.6%, 39.6%)
CIE-LABlab(36.96, 58.18, -26.07)
CIE-LCHlch(36.96, 63.75, 335.86°)
OKLaboklab(48.13% 0.1721 -0.0709)
OKLCHoklch(48.13% 0.186 337.6)
XYZxyz(17.8726, 9.5165, 22.0104)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2082 #209A38
analogous
#75209A #9A2082 #9A2045
triadic
#9A2082 #829A20 #20829A
tetradic
#9A2082 #9A7520 #209A38 #20459A
square
#9A2082 #9A7520 #209A38 #20459A
split-complementary
#9A2082 #459A20 #209A75
monochromatic
#350B2C #671557 #9A2082 #CD2BAD #DC58C2

Accessibility & contrast

On white

7.23
#9A2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2082
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2082#FFFFFF#000000##FFFFFF
##9A20821.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A32850
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2082;
/* rgb */ color: rgb(154, 32, 130);
/* oklch */ color: oklch(48.1% 0.186 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aa6',
    500: '#9a2082',
    950: '#000000',
  },
}
SCSS
$custom: #9a2082;
$custom-light: #bc6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2082",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 311.803,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.18609,
    "h": 337.6
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#9A2082
secondary
#56C06B
accent
#E9613F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2082

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

Preview Lab → · Contrast checker → · Palette generator →

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