#9B226F#9B226F

#9B226F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 346.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9B226F
RGBrgb(155, 34, 111)
HSLhsl(322, 64%, 37%)
HSVhsv(322, 78%, 61%)
CMYKcmyk(0%, 78.1%, 28.4%, 39.2%)
CIE-LABlab(36.48, 55.26, -14.90)
CIE-LCHlch(36.48, 57.24, 344.91°)
OKLaboklab(47.54% 0.1682 -0.0394)
OKLCHoklch(47.54% 0.173 346.8)
XYZxyz(16.9597, 9.2622, 15.9305)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B226F #229B4E
analogous
#8B229B #9B226F #9B2233
triadic
#9B226F #6F9B22 #226F9B
tetradic
#9B226F #9B8B22 #229B4E #22339B
square
#9B226F #9B8B22 #229B4E #22339B
split-complementary
#9B226F #339B22 #229B8B
monochromatic
#370C27 #69174B #9B226F #CD2D93 #DB5CAD

Accessibility & contrast

On white

7.36
#9B226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B226F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B226F#FFFFFF#000000##FFFFFF
##9B226F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A61E46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b226f;
/* rgb */ color: rgb(155, 34, 111);
/* oklch */ color: oklch(47.5% 0.173 346.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a98',
    500: '#9b226f',
    950: '#000000',
  },
}
SCSS
$custom: #9b226f;
$custom-light: #bd6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b226f",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 321.818,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.17276,
    "h": 346.8
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#9B226F
secondary
#59C07E
accent
#E77D41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B226F

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

Preview Lab → · Contrast checker → · Palette generator →

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