#9B226A#9B226A

#9B226A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.170 H 349.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9B226A
RGBrgb(155, 34, 106)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 61%)
CMYKcmyk(0%, 78.1%, 31.6%, 39.2%)
CIE-LABlab(36.28, 54.65, -12.04)
CIE-LCHlch(36.28, 55.96, 347.57°)
OKLaboklab(47.32% 0.1671 -0.0315)
OKLCHoklch(47.32% 0.17 349.3)
XYZxyz(16.6920, 9.1552, 14.5210)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B226A #229B53
analogous
#90229B #9B226A #9B222D
triadic
#9B226A #6A9B22 #226A9B
tetradic
#9B226A #9B9022 #229B53 #222D9B
square
#9B226A #9B9022 #229B53 #222D9B
split-complementary
#9B226A #2D9B22 #229B90
monochromatic
#370C25 #691748 #9B226A #CD2D8C #DB5CA8

Accessibility & contrast

On white

7.42
#9B226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B226A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B226A#FFFFFF#000000##FFFFFF
##9B226A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#5A5D67
Tritanopia (blue-blind)
#A71A43
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b226a;
/* rgb */ color: rgb(155, 34, 106);
/* oklch */ color: oklch(47.3% 0.170 349.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a94',
    500: '#9b226a',
    950: '#000000',
  },
}
SCSS
$custom: #9b226a;
$custom-light: #bd6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#9b226a",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 324.298,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.17001,
    "h": 349.3
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#9B226A
secondary
#59C083
accent
#E78441
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B226A

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

Preview Lab → · Contrast checker → · Palette generator →

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