#9A2285#9A2285

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

Color values

HEX#9A2285
RGBrgb(154, 34, 133)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 60%)
CMYKcmyk(0%, 77.9%, 13.6%, 39.6%)
CIE-LABlab(37.32, 58.03, -27.37)
CIE-LCHlch(37.32, 64.16, 334.75°)
OKLaboklab(48.43% 0.1706 -0.0746)
OKLCHoklch(48.43% 0.186 336.4)
XYZxyz(18.1324, 9.7092, 23.1049)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2285 #229A37
analogous
#73229A #9A2285 #9A2249
triadic
#9A2285 #859A22 #22859A
tetradic
#9A2285 #9A7322 #229A37 #22499A
square
#9A2285 #9A7322 #229A37 #22499A
split-complementary
#9A2285 #499A22 #229A73
monochromatic
#360C2E #68175A #9A2285 #CC2DB0 #DB5BC5

Accessibility & contrast

On white

7.14
#9A2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2285
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2285#FFFFFF#000000##FFFFFF
##9A22851.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#A22B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2285;
/* rgb */ color: rgb(154, 34, 133);
/* oklch */ color: oklch(48.4% 0.186 336.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9a2285',
    950: '#000000',
  },
}
SCSS
$custom: #9a2285;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2285",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 310.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.18618,
    "h": 336.4
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#9A2285
secondary
#58BF6A
accent
#E75E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2285

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

Preview Lab → · Contrast checker → · Palette generator →

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