#9B226E#9B226E

#9B226E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.172 H 347.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9B226E
RGBrgb(155, 34, 110)
HSLhsl(322, 64%, 37%)
HSVhsv(322, 78%, 61%)
CMYKcmyk(0%, 78.1%, 29%, 39.2%)
CIE-LABlab(36.44, 55.14, -14.33)
CIE-LCHlch(36.44, 56.97, 345.43°)
OKLaboklab(47.49% 0.168 -0.0378)
OKLCHoklch(47.49% 0.172 347.3)
XYZxyz(16.9049, 9.2403, 15.6421)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B226E #229B4F
analogous
#8C229B #9B226E #9B2232
triadic
#9B226E #6E9B22 #226E9B
tetradic
#9B226E #9B8C22 #229B4F #22329B
square
#9B226E #9B8C22 #229B4F #22329B
split-complementary
#9B226E #329B22 #229B8C
monochromatic
#370C27 #69174A #9B226E #CD2D92 #DB5CAC

Accessibility & contrast

On white

7.37
#9B226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B226E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B226E#FFFFFF#000000##FFFFFF
##9B226E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#585D6B
Tritanopia (blue-blind)
#A61D45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b226e;
/* rgb */ color: rgb(155, 34, 110);
/* oklch */ color: oklch(47.5% 0.172 347.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a97',
    500: '#9b226e',
    950: '#000000',
  },
}
SCSS
$custom: #9b226e;
$custom-light: #bd6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b226e",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 322.314,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47493,
    "c": 0.1722,
    "h": 347.3
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#9B226E
secondary
#59C07F
accent
#E77F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B226E

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

Preview Lab → · Contrast checker → · Palette generator →

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