#9B2F82#9B2F82

#9B2F82 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.170 H 338.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9B2F82
RGBrgb(155, 47, 130)
HSLhsl(314, 53%, 40%)
HSVhsv(314, 70%, 61%)
CMYKcmyk(0%, 69.7%, 16.1%, 39.2%)
CIE-LABlab(38.92, 53.36, -22.99)
CIE-LCHlch(38.92, 58.10, 336.69°)
OKLaboklab(49.58% 0.1578 -0.0622)
OKLCHoklch(49.58% 0.17 338.5)
XYZxyz(18.5637, 10.6150, 22.1860)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F82 #2F9B48
analogous
#7E2F9B #9B2F82 #9B2F4C
triadic
#9B2F82 #829B2F #2F829B
tetradic
#9B2F82 #9B7E2F #2F9B48 #2F4C9B
square
#9B2F82 #9B7E2F #2F9B48 #2F4C9B
split-complementary
#9B2F82 #4C9B2F #2F9B7E
monochromatic
#3D1333 #6C215B #9B2F82 #C642A7 #D471BD

Accessibility & contrast

On white

6.73
#9B2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9B2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F82
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F82#FFFFFF#000000##FFFFFF
##9B2F821.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#56627F
Tritanopia (blue-blind)
#A43354
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2f82;
/* rgb */ color: rgb(155, 47, 130);
/* oklch */ color: oklch(49.6% 0.170 338.5);
Tailwind
colors: {
  custom: {
    50: '#bc71a6',
    500: '#9b2f82',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f82;
$custom-light: #bc71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f82",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 313.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.16966,
    "h": 338.5
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#9B2F82
secondary
#6ABB7D
accent
#DD6D4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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