#9B287E#9B287E

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

Color values

HEX#9B287E
RGBrgb(155, 40, 126)
HSLhsl(315, 59%, 38%)
HSVhsv(315, 74%, 61%)
CMYKcmyk(0%, 74.2%, 18.7%, 39.2%)
CIE-LABlab(37.83, 55.32, -22.21)
CIE-LCHlch(37.83, 59.62, 338.13°)
OKLaboklab(48.73% 0.1649 -0.06)
OKLCHoklch(48.73% 0.176 340)
XYZxyz(18.0428, 9.9943, 20.7135)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B287E #289B45
analogous
#7E289B #9B287E #9B2845
triadic
#9B287E #7E9B28 #287E9B
tetradic
#9B287E #9B7E28 #289B45 #28459B
square
#9B287E #9B7E28 #289B45 #28459B
split-complementary
#9B287E #459B28 #289B7E
monochromatic
#3A0F2F #6A1B56 #9B287E #CB35A5 #D766BB

Accessibility & contrast

On white

7.00
#9B287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9B287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B287E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B287E#FFFFFF#000000##FFFFFF
##9B287E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A42C50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b287e;
/* rgb */ color: rgb(155, 40, 126);
/* oklch */ color: oklch(48.7% 0.175 340.0);
Tailwind
colors: {
  custom: {
    50: '#bc6da3',
    500: '#9b287e',
    950: '#000000',
  },
}
SCSS
$custom: #9b287e;
$custom-light: #bc6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b287e",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 315.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.1755,
    "h": 340
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#9B287E
secondary
#61BD79
accent
#E26D46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B287E

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

Preview Lab → · Contrast checker → · Palette generator →

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