#9B2F86#9B2F86

#9B2F86 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.173 H 336.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B2F86
RGBrgb(155, 47, 134)
HSLhsl(312, 53%, 40%)
HSVhsv(312, 70%, 61%)
CMYKcmyk(0%, 69.7%, 13.5%, 39.2%)
CIE-LABlab(39.11, 53.96, -25.16)
CIE-LCHlch(39.11, 59.54, 335.00°)
OKLaboklab(49.78% 0.1584 -0.0684)
OKLCHoklch(49.78% 0.173 336.6)
XYZxyz(18.8375, 10.7245, 23.6276)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F86 #2F9B44
analogous
#7A2F9B #9B2F86 #9B2F50
triadic
#9B2F86 #869B2F #2F869B
tetradic
#9B2F86 #9B7A2F #2F9B44 #2F509B
square
#9B2F86 #9B7A2F #2F9B44 #2F509B
split-complementary
#9B2F86 #509B2F #2F9B7A
monochromatic
#3D1335 #6C215D #9B2F86 #C642AC #D471C1

Accessibility & contrast

On white

6.68
#9B2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B2F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F86
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F86#FFFFFF#000000##FFFFFF
##9B2F861.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315288
Deuteranopia (green-blind)
#556283
Tritanopia (blue-blind)
#A33556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2f86;
/* rgb */ color: rgb(155, 47, 134);
/* oklch */ color: oklch(49.8% 0.173 336.6);
Tailwind
colors: {
  custom: {
    50: '#bc71a9',
    500: '#9b2f86',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f86;
$custom-light: #bc71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f86",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 311.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.17256,
    "h": 336.6
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#9B2F86
secondary
#6ABB7A
accent
#DD674B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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