#9A2284#9A2284

#9A2284 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.185 H 336.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9A2284
RGBrgb(154, 34, 132)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 60%)
CMYKcmyk(0%, 77.9%, 14.3%, 39.6%)
CIE-LABlab(37.27, 57.88, -26.83)
CIE-LCHlch(37.27, 63.80, 335.13°)
OKLaboklab(48.38% 0.1705 -0.0731)
OKLCHoklch(48.38% 0.185 336.8)
XYZxyz(18.0637, 9.6817, 22.7427)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2284 #229A38
analogous
#74229A #9A2284 #9A2248
triadic
#9A2284 #849A22 #22849A
tetradic
#9A2284 #9A7422 #229A38 #22489A
square
#9A2284 #9A7422 #229A38 #22489A
split-complementary
#9A2284 #489A22 #229A74
monochromatic
#360C2E #681759 #9A2284 #CC2DAF #DB5BC4

Accessibility & contrast

On white

7.15
#9A2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9A2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2284
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2284#FFFFFF#000000##FFFFFF
##9A22841.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A22A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2284;
/* rgb */ color: rgb(154, 34, 132);
/* oklch */ color: oklch(48.4% 0.185 336.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ba8',
    500: '#9a2284',
    950: '#000000',
  },
}
SCSS
$custom: #9a2284;
$custom-light: #bc6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2284",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 311,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.18548,
    "h": 336.8
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#9A2284
secondary
#58BF6B
accent
#E75F41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2284

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

Preview Lab → · Contrast checker → · Palette generator →

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