#9B2582#9B2582

#9B2582 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.182 H 338.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B2582
RGBrgb(155, 37, 130)
HSLhsl(313, 61%, 38%)
HSVhsv(313, 76%, 61%)
CMYKcmyk(0%, 76.1%, 16.1%, 39.2%)
CIE-LABlab(37.67, 56.89, -24.94)
CIE-LCHlch(37.67, 62.12, 336.33°)
OKLaboklab(48.68% 0.1685 -0.0677)
OKLCHoklch(48.68% 0.182 338.1)
XYZxyz(18.2088, 9.9051, 22.0677)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2582 #259B3E
analogous
#79259B #9B2582 #9B2547
triadic
#9B2582 #829B25 #25829B
tetradic
#9B2582 #9B7925 #259B3E #25479B
square
#9B2582 #9B7925 #259B3E #25479B
split-complementary
#9B2582 #479B25 #259B79
monochromatic
#380D2F #6A1959 #9B2582 #CC31AB #D961C0

Accessibility & contrast

On white

7.05
#9B2582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B2582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2582
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2582#FFFFFF#000000##FFFFFF
##9B25821.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2582;
/* rgb */ color: rgb(155, 37, 130);
/* oklch */ color: oklch(48.7% 0.182 338.1);
Tailwind
colors: {
  custom: {
    50: '#bc6ca6',
    500: '#9b2582',
    950: '#000000',
  },
}
SCSS
$custom: #9b2582;
$custom-light: #bc6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2582",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 312.712,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.18156,
    "h": 338.1
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#9B2582
secondary
#5DBF72
accent
#E56543
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2582

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

Preview Lab → · Contrast checker → · Palette generator →

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