#9B2E86#9B2E86

#9B2E86 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.174 H 336.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9B2E86
RGBrgb(155, 46, 134)
HSLhsl(312, 54%, 39%)
HSVhsv(312, 70%, 61%)
CMYKcmyk(0%, 70.3%, 13.5%, 39.2%)
CIE-LABlab(38.98, 54.34, -25.38)
CIE-LCHlch(38.98, 59.98, 334.97°)
OKLaboklab(49.68% 0.1596 -0.069)
OKLCHoklch(49.68% 0.174 336.6)
XYZxyz(18.7979, 10.6454, 23.6144)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E86 #2E9B43
analogous
#7A2E9B #9B2E86 #9B2E4F
triadic
#9B2E86 #869B2E #2E869B
tetradic
#9B2E86 #9B7A2E #2E9B43 #2E4F9B
square
#9B2E86 #9B7A2E #2E9B43 #2E4F9B
split-complementary
#9B2E86 #4F9B2E #2E9B7A
monochromatic
#3D1234 #6C205D #9B2E86 #C640AC #D46FC1

Accessibility & contrast

On white

6.71
#9B2E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B2E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E86
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E86#FFFFFF#000000##FFFFFF
##9B2E861.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#546283
Tritanopia (blue-blind)
#A33456
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2e86;
/* rgb */ color: rgb(155, 46, 134);
/* oklch */ color: oklch(49.7% 0.174 336.6);
Tailwind
colors: {
  custom: {
    50: '#bc70a9',
    500: '#9b2e86',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e86;
$custom-light: #bc70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e86",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 311.56,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.17383,
    "h": 336.6
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#9B2E86
secondary
#69BC79
accent
#DE674A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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