#9B226D#9B226D

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

Color values

HEX#9B226D
RGBrgb(155, 34, 109)
HSLhsl(323, 64%, 37%)
HSVhsv(323, 78%, 61%)
CMYKcmyk(0%, 78.1%, 29.7%, 39.2%)
CIE-LABlab(36.40, 55.02, -13.76)
CIE-LCHlch(36.40, 56.71, 345.96°)
OKLaboklab(47.45% 0.1678 -0.0362)
OKLCHoklch(47.45% 0.172 347.8)
XYZxyz(16.8508, 9.2187, 15.3570)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B226D #229B50
analogous
#8D229B #9B226D #9B2231
triadic
#9B226D #6D9B22 #226D9B
tetradic
#9B226D #9B8D22 #229B50 #22319B
square
#9B226D #9B8D22 #229B50 #22319B
split-complementary
#9B226D #319B22 #229B8D
monochromatic
#370C26 #69174A #9B226D #CD2D90 #DB5CAB

Accessibility & contrast

On white

7.39
#9B226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B226D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B226D#FFFFFF#000000##FFFFFF
##9B226D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#595D6A
Tritanopia (blue-blind)
#A61C45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b226d;
/* rgb */ color: rgb(155, 34, 109);
/* oklch */ color: oklch(47.4% 0.172 347.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a97',
    500: '#9b226d',
    950: '#000000',
  },
}
SCSS
$custom: #9b226d;
$custom-light: #bd6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b226d",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 322.81,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.17164,
    "h": 347.8
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#9B226D
secondary
#59C080
accent
#E78041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B226D

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

Preview Lab → · Contrast checker → · Palette generator →

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