#9A2286#9A2286

#9A2286 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.187 H 335.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9A2286
RGBrgb(154, 34, 134)
HSLhsl(310, 64%, 37%)
HSVhsv(310, 78%, 60%)
CMYKcmyk(0%, 77.9%, 13%, 39.6%)
CIE-LABlab(37.37, 58.17, -27.91)
CIE-LCHlch(37.37, 64.52, 334.37°)
OKLaboklab(48.49% 0.1707 -0.0762)
OKLCHoklch(48.49% 0.187 335.9)
XYZxyz(18.2018, 9.7370, 23.4704)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2286 #229A36
analogous
#72229A #9A2286 #9A224A
triadic
#9A2286 #869A22 #22869A
tetradic
#9A2286 #9A7222 #229A36 #224A9A
square
#9A2286 #9A7222 #229A36 #224A9A
split-complementary
#9A2286 #4A9A22 #229A72
monochromatic
#360C2F #68175A #9A2286 #CC2DB2 #DB5BC6

Accessibility & contrast

On white

7.13
#9A2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9A2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2286
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2286#FFFFFF#000000##FFFFFF
##9A22861.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#A22C52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2286;
/* rgb */ color: rgb(154, 34, 134);
/* oklch */ color: oklch(48.5% 0.187 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9a2286',
    950: '#000000',
  },
}
SCSS
$custom: #9a2286;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2286",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 310,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.18688,
    "h": 335.9
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A2286

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

Preview Lab → · Contrast checker → · Palette generator →

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