#9B287C#9B287C

#9B287C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.174 H 340.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9B287C
RGBrgb(155, 40, 124)
HSLhsl(316, 59%, 38%)
HSVhsv(316, 74%, 61%)
CMYKcmyk(0%, 74.2%, 20%, 39.2%)
CIE-LABlab(37.74, 55.04, -21.11)
CIE-LCHlch(37.74, 58.95, 339.02°)
OKLaboklab(48.63% 0.1646 -0.0568)
OKLCHoklch(48.63% 0.174 340.9)
XYZxyz(17.9150, 9.9432, 20.0406)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B287C #289B47
analogous
#80289B #9B287C #9B2842
triadic
#9B287C #7C9B28 #287C9B
tetradic
#9B287C #9B8028 #289B47 #28429B
square
#9B287C #9B8028 #289B47 #28429B
split-complementary
#9B287C #429B28 #289B80
monochromatic
#3A0F2E #6A1B55 #9B287C #CB35A3 #D766B9

Accessibility & contrast

On white

7.03
#9B287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B287C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B287C#FFFFFF#000000##FFFFFF
##9B287C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#565F79
Tritanopia (blue-blind)
#A52B4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b287c;
/* rgb */ color: rgb(155, 40, 124);
/* oklch */ color: oklch(48.6% 0.174 340.9);
Tailwind
colors: {
  custom: {
    50: '#bc6da2',
    500: '#9b287c',
    950: '#000000',
  },
}
SCSS
$custom: #9b287c;
$custom-light: #bc6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b287c",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 316.174,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.17417,
    "h": 340.9
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#9B287C
secondary
#61BD7A
accent
#E27046
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B287C

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

Preview Lab → · Contrast checker → · Palette generator →

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