#9B287D#9B287D

#9B287D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.175 H 340.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B287D
RGBrgb(155, 40, 125)
HSLhsl(316, 59%, 38%)
HSVhsv(316, 74%, 61%)
CMYKcmyk(0%, 74.2%, 19.4%, 39.2%)
CIE-LABlab(37.79, 55.18, -21.66)
CIE-LCHlch(37.79, 59.28, 338.57°)
OKLaboklab(48.68% 0.1648 -0.0584)
OKLCHoklch(48.68% 0.175 340.5)
XYZxyz(17.9785, 9.9686, 20.3754)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B287D #289B46
analogous
#7F289B #9B287D #9B2843
triadic
#9B287D #7D9B28 #287D9B
tetradic
#9B287D #9B7F28 #289B46 #28439B
square
#9B287D #9B7F28 #289B46 #28439B
split-complementary
#9B287D #439B28 #289B7F
monochromatic
#3A0F2F #6A1B56 #9B287D #CB35A4 #D766BA

Accessibility & contrast

On white

7.02
#9B287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B287D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B287D#FFFFFF#000000##FFFFFF
##9B287D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#55607A
Tritanopia (blue-blind)
#A42B4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b287d;
/* rgb */ color: rgb(155, 40, 125);
/* oklch */ color: oklch(48.7% 0.175 340.5);
Tailwind
colors: {
  custom: {
    50: '#bc6da3',
    500: '#9b287d',
    950: '#000000',
  },
}
SCSS
$custom: #9b287d;
$custom-light: #bc6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b287d",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 315.652,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.17482,
    "h": 340.5
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#9B287D
secondary
#61BD79
accent
#E26E46
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B287D

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

Preview Lab → · Contrast checker → · Palette generator →

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