#9B286F#9B286F

#9B286F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.166 H 347.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9B286F
RGBrgb(155, 40, 111)
HSLhsl(323, 59%, 38%)
HSVhsv(323, 74%, 61%)
CMYKcmyk(0%, 74.2%, 28.4%, 39.2%)
CIE-LABlab(37.18, 53.29, -13.83)
CIE-LCHlch(37.18, 55.06, 345.45°)
OKLaboklab(48.04% 0.1621 -0.0365)
OKLCHoklch(48.04% 0.166 347.3)
XYZxyz(17.1464, 9.6357, 15.9927)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B286F #289B54
analogous
#8D289B #9B286F #9B2835
triadic
#9B286F #6F9B28 #286F9B
tetradic
#9B286F #9B8D28 #289B54 #28359B
square
#9B286F #9B8D28 #289B54 #28359B
split-complementary
#9B286F #359B28 #289B8D
monochromatic
#3A0F29 #6A1B4C #9B286F #CB3592 #D766AC

Accessibility & contrast

On white

7.18
#9B286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B286F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B286F#FFFFFF#000000##FFFFFF
##9B286F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#5A5F6C
Tritanopia (blue-blind)
#A62448
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b286f;
/* rgb */ color: rgb(155, 40, 111);
/* oklch */ color: oklch(48.0% 0.166 347.3);
Tailwind
colors: {
  custom: {
    50: '#bc6d98',
    500: '#9b286f',
    950: '#000000',
  },
}
SCSS
$custom: #9b286f;
$custom-light: #bc6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b286f",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 322.957,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.16613,
    "h": 347.3
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#9B286F
secondary
#61BD85
accent
#E28246
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B286F

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

Preview Lab → · Contrast checker → · Palette generator →

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