#9B226B#9B226B

#9B226B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 348.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9B226B
RGBrgb(155, 34, 107)
HSLhsl(324, 64%, 37%)
HSVhsv(324, 78%, 61%)
CMYKcmyk(0%, 78.1%, 31%, 39.2%)
CIE-LABlab(36.32, 54.77, -12.62)
CIE-LCHlch(36.32, 56.21, 347.03°)
OKLaboklab(47.37% 0.1673 -0.0331)
OKLCHoklch(47.37% 0.171 348.8)
XYZxyz(16.7443, 9.1761, 14.7964)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B226B #229B52
analogous
#8F229B #9B226B #9B222E
triadic
#9B226B #6B9B22 #226B9B
tetradic
#9B226B #9B8F22 #229B52 #222E9B
square
#9B226B #9B8F22 #229B52 #222E9B
split-complementary
#9B226B #2E9B22 #229B8F
monochromatic
#370C26 #691748 #9B226B #CD2D8E #DB5CA9

Accessibility & contrast

On white

7.41
#9B226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B226B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B226B#FFFFFF#000000##FFFFFF
##9B226B1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#595D68
Tritanopia (blue-blind)
#A71B44
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b226b;
/* rgb */ color: rgb(155, 34, 107);
/* oklch */ color: oklch(47.4% 0.171 348.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a95',
    500: '#9b226b',
    950: '#000000',
  },
}
SCSS
$custom: #9b226b;
$custom-light: #bd6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#9b226b",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 323.802,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.17054,
    "h": 348.8
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#9B226B
secondary
#59C082
accent
#E78341
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B226B

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

Preview Lab → · Contrast checker → · Palette generator →

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