#9B2F84#9B2F84

#9B2F84 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.171 H 337.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9B2F84
RGBrgb(155, 47, 132)
HSLhsl(313, 53%, 40%)
HSVhsv(313, 70%, 61%)
CMYKcmyk(0%, 69.7%, 14.8%, 39.2%)
CIE-LABlab(39.02, 53.66, -24.08)
CIE-LCHlch(39.02, 58.81, 335.83°)
OKLaboklab(49.68% 0.1581 -0.0653)
OKLCHoklch(49.68% 0.171 337.6)
XYZxyz(18.6993, 10.6692, 22.8999)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F84 #2F9B46
analogous
#7C2F9B #9B2F84 #9B2F4E
triadic
#9B2F84 #849B2F #2F849B
tetradic
#9B2F84 #9B7C2F #2F9B46 #2F4E9B
square
#9B2F84 #9B7C2F #2F9B46 #2F4E9B
split-complementary
#9B2F84 #4E9B2F #2F9B7C
monochromatic
#3D1334 #6C215C #9B2F84 #C642A9 #D471BF

Accessibility & contrast

On white

6.70
#9B2F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2F84
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F84#FFFFFF#000000##FFFFFF
##9B2F841.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335186
Deuteranopia (green-blind)
#566281
Tritanopia (blue-blind)
#A33455
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2f84;
/* rgb */ color: rgb(155, 47, 132);
/* oklch */ color: oklch(49.7% 0.171 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc71a8',
    500: '#9b2f84',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f84;
$custom-light: #bc71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f84",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 312.778,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.1711,
    "h": 337.6
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#9B2F84
secondary
#6ABB7C
accent
#DD6A4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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