#9B286A#9B286A

#9B286A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.163 H 349.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9B286A
RGBrgb(155, 40, 106)
HSLhsl(326, 59%, 38%)
HSVhsv(326, 74%, 61%)
CMYKcmyk(0%, 74.2%, 31.6%, 39.2%)
CIE-LABlab(36.98, 52.67, -10.98)
CIE-LCHlch(36.98, 53.80, 348.23°)
OKLaboklab(47.84% 0.1608 -0.0286)
OKLCHoklch(47.84% 0.163 349.9)
XYZxyz(16.8788, 9.5287, 14.5832)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B286A #289B59
analogous
#92289B #9B286A #9B2831
triadic
#9B286A #6A9B28 #286A9B
tetradic
#9B286A #9B9228 #289B59 #28319B
square
#9B286A #9B9228 #289B59 #28319B
split-complementary
#9B286A #319B28 #289B92
monochromatic
#3A0F27 #6A1B49 #9B286A #CB358B #D766A7

Accessibility & contrast

On white

7.23
#9B286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B286A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B286A#FFFFFF#000000##FFFFFF
##9B286A1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6C
Deuteranopia (green-blind)
#5B5E67
Tritanopia (blue-blind)
#A72145
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b286a;
/* rgb */ color: rgb(155, 40, 106);
/* oklch */ color: oklch(47.8% 0.163 349.9);
Tailwind
colors: {
  custom: {
    50: '#bd6d94',
    500: '#9b286a',
    950: '#000000',
  },
}
SCSS
$custom: #9b286a;
$custom-light: #bd6d94;
$custom-dark: #000000;
JSON
{
  "hex": "#9b286a",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 325.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.16337,
    "h": 349.9
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#9B286A
secondary
#61BD89
accent
#E28846
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B286A

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

Preview Lab → · Contrast checker → · Palette generator →

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