#9B2285#9B2285

#9B2285 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.187 H 336.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9B2285
RGBrgb(155, 34, 133)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 61%)
CMYKcmyk(0%, 78.1%, 14.2%, 39.2%)
CIE-LABlab(37.50, 58.26, -27.07)
CIE-LCHlch(37.50, 64.24, 335.07°)
OKLaboklab(48.6% 0.1716 -0.0738)
OKLCHoklch(48.6% 0.187 336.7)
XYZxyz(18.3236, 9.8078, 23.1138)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2285 #229B38
analogous
#75229B #9B2285 #9B2249
triadic
#9B2285 #859B22 #22859B
tetradic
#9B2285 #9B7522 #229B38 #22499B
square
#9B2285 #9B7522 #229B38 #22499B
split-complementary
#9B2285 #499B22 #229B75
monochromatic
#370C2F #69175A #9B2285 #CD2DB0 #DB5CC4

Accessibility & contrast

On white

7.09
#9B2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2285
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2285#FFFFFF#000000##FFFFFF
##9B22851.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#A32B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2285;
/* rgb */ color: rgb(155, 34, 133);
/* oklch */ color: oklch(48.6% 0.187 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9b2285',
    950: '#000000',
  },
}
SCSS
$custom: #9b2285;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2285",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 310.909,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.18675,
    "h": 336.7
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#9B2285
secondary
#59C06C
accent
#E75F41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B2285

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

Preview Lab → · Contrast checker → · Palette generator →

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