#9A2282#9A2282

#9A2282 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.184 H 337.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9A2282
RGBrgb(154, 34, 130)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 60%)
CMYKcmyk(0%, 77.9%, 15.6%, 39.6%)
CIE-LABlab(37.17, 57.59, -25.75)
CIE-LCHlch(37.17, 63.08, 335.91°)
OKLaboklab(48.28% 0.1703 -0.07)
OKLCHoklch(48.28% 0.184 337.7)
XYZxyz(17.9281, 9.6275, 22.0289)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2282 #229A3A
analogous
#76229A #9A2282 #9A2246
triadic
#9A2282 #829A22 #22829A
tetradic
#9A2282 #9A7622 #229A3A #22469A
square
#9A2282 #9A7622 #229A3A #22469A
split-complementary
#9A2282 #469A22 #229A76
monochromatic
#360C2D #681758 #9A2282 #CC2DAC #DB5BC1

Accessibility & contrast

On white

7.18
#9A2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2282
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2282#FFFFFF#000000##FFFFFF
##9A22821.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A32950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2282;
/* rgb */ color: rgb(154, 34, 130);
/* oklch */ color: oklch(48.3% 0.184 337.7);
Tailwind
colors: {
  custom: {
    50: '#bc6ba6',
    500: '#9a2282',
    950: '#000000',
  },
}
SCSS
$custom: #9a2282;
$custom-light: #bc6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2282",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 312,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.18411,
    "h": 337.7
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#9A2282
secondary
#58BF6D
accent
#E76241
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2282

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

Preview Lab → · Contrast checker → · Palette generator →

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