#9B2286#9B2286

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

Color values

HEX#9B2286
RGBrgb(155, 34, 134)
HSLhsl(310, 64%, 37%)
HSVhsv(310, 78%, 61%)
CMYKcmyk(0%, 78.1%, 13.5%, 39.2%)
CIE-LABlab(37.55, 58.41, -27.61)
CIE-LCHlch(37.55, 64.60, 334.70°)
OKLaboklab(48.65% 0.1717 -0.0753)
OKLCHoklch(48.65% 0.187 336.3)
XYZxyz(18.3930, 9.8356, 23.4794)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2286 #229B37
analogous
#74229B #9B2286 #9B224A
triadic
#9B2286 #869B22 #22869B
tetradic
#9B2286 #9B7422 #229B37 #224A9B
square
#9B2286 #9B7422 #229B37 #224A9B
split-complementary
#9B2286 #4A9B22 #229B74
monochromatic
#370C2F #69175B #9B2286 #CD2DB1 #DB5CC5

Accessibility & contrast

On white

7.08
#9B2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2286
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2286#FFFFFF#000000##FFFFFF
##9B22861.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A32B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2286;
/* rgb */ color: rgb(155, 34, 134);
/* oklch */ color: oklch(48.6% 0.187 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9b2286',
    950: '#000000',
  },
}
SCSS
$custom: #9b2286;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2286",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 310.413,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.18744,
    "h": 336.3
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#9B2286
secondary
#59C06B
accent
#E75E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B2286

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

Preview Lab → · Contrast checker → · Palette generator →

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