#9A226A#9A226A

#9A226A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.169 H 349.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9A226A
RGBrgb(154, 34, 106)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 60%)
CMYKcmyk(0%, 77.9%, 31.2%, 39.6%)
CIE-LABlab(36.09, 54.39, -12.35)
CIE-LCHlch(36.09, 55.77, 347.21°)
OKLaboklab(47.15% 0.1662 -0.0324)
OKLCHoklch(47.15% 0.169 349)
XYZxyz(16.5009, 9.0566, 14.5120)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A226A #229A52
analogous
#8E229A #9A226A #9A222E
triadic
#9A226A #6A9A22 #226A9A
tetradic
#9A226A #9A8E22 #229A52 #222E9A
square
#9A226A #9A8E22 #229A52 #222E9A
split-complementary
#9A226A #2E9A22 #229A8E
monochromatic
#360C25 #681747 #9A226A #CC2D8D #DB5BA8

Accessibility & contrast

On white

7.47
#9A226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9A226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A226A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A226A#FFFFFF#000000##FFFFFF
##9A226A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36476C
Deuteranopia (green-blind)
#595C67
Tritanopia (blue-blind)
#A51B43
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a226a;
/* rgb */ color: rgb(154, 34, 106);
/* oklch */ color: oklch(47.2% 0.169 349.0);
Tailwind
colors: {
  custom: {
    50: '#bc6a94',
    500: '#9a226a',
    950: '#000000',
  },
}
SCSS
$custom: #9a226a;
$custom-light: #bc6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#9a226a",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 324,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.16928,
    "h": 349
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#9A226A
secondary
#58BF82
accent
#E78341
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A226A

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

Preview Lab → · Contrast checker → · Palette generator →

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