#9B2482#9B2482

#9B2482 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.183 H 338.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9B2482
RGBrgb(155, 36, 130)
HSLhsl(313, 62%, 37%)
HSVhsv(313, 77%, 61%)
CMYKcmyk(0%, 76.8%, 16.1%, 39.2%)
CIE-LABlab(37.56, 57.21, -25.12)
CIE-LCHlch(37.56, 62.48, 336.30°)
OKLaboklab(48.6% 0.1694 -0.0682)
OKLCHoklch(48.6% 0.183 338.1)
XYZxyz(18.1781, 9.8438, 22.0574)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2482 #249B3D
analogous
#79249B #9B2482 #9B2446
triadic
#9B2482 #829B24 #24829B
tetradic
#9B2482 #9B7924 #249B3D #24469B
square
#9B2482 #9B7924 #249B3D #24469B
split-complementary
#9B2482 #469B24 #249B79
monochromatic
#380D2F #691858 #9B2482 #CD30AC #DA5FC0

Accessibility & contrast

On white

7.07
#9B2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2482
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2482#FFFFFF#000000##FFFFFF
##9B24821.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A42B51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2482;
/* rgb */ color: rgb(155, 36, 130);
/* oklch */ color: oklch(48.6% 0.183 338.1);
Tailwind
colors: {
  custom: {
    50: '#bc6ca6',
    500: '#9b2482',
    950: '#000000',
  },
}
SCSS
$custom: #9b2482;
$custom-light: #bc6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2482",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 312.605,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.18263,
    "h": 338.1
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#9B2482
secondary
#5CBF71
accent
#E56542
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2482

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

Preview Lab → · Contrast checker → · Palette generator →

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