#9B286E#9B286E

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

Color values

HEX#9B286E
RGBrgb(155, 40, 110)
HSLhsl(323, 59%, 38%)
HSVhsv(323, 74%, 61%)
CMYKcmyk(0%, 74.2%, 29%, 39.2%)
CIE-LABlab(37.14, 53.17, -13.26)
CIE-LCHlch(37.14, 54.80, 345.99°)
OKLaboklab(48% 0.1618 -0.0349)
OKLCHoklch(48% 0.166 347.8)
XYZxyz(17.0917, 9.6138, 15.7044)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B286E #289B55
analogous
#8E289B #9B286E #9B2835
triadic
#9B286E #6E9B28 #286E9B
tetradic
#9B286E #9B8E28 #289B55 #28359B
square
#9B286E #9B8E28 #289B55 #28359B
split-complementary
#9B286E #359B28 #289B8E
monochromatic
#3A0F29 #6A1B4B #9B286E #CB3590 #D766AB

Accessibility & contrast

On white

7.19
#9B286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B286E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B286E#FFFFFF#000000##FFFFFF
##9B286E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#5A5F6B
Tritanopia (blue-blind)
#A62347
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b286e;
/* rgb */ color: rgb(155, 40, 110);
/* oklch */ color: oklch(48.0% 0.166 347.8);
Tailwind
colors: {
  custom: {
    50: '#bc6d97',
    500: '#9b286e',
    950: '#000000',
  },
}
SCSS
$custom: #9b286e;
$custom-light: #bc6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b286e",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 323.478,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.16556,
    "h": 347.8
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B286E

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

Preview Lab → · Contrast checker → · Palette generator →

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