#9B2282#9B2282

#9B2282 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.185 H 338.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9B2282
RGBrgb(155, 34, 130)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 61%)
CMYKcmyk(0%, 78.1%, 16.1%, 39.2%)
CIE-LABlab(37.35, 57.82, -25.45)
CIE-LCHlch(37.35, 63.18, 336.24°)
OKLaboklab(48.44% 0.1713 -0.0691)
OKLCHoklch(48.44% 0.185 338)
XYZxyz(18.1193, 9.7261, 22.0378)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2282 #229B3B
analogous
#78229B #9B2282 #9B2245
triadic
#9B2282 #829B22 #22829B
tetradic
#9B2282 #9B7822 #229B3B #22459B
square
#9B2282 #9B7822 #229B3B #22459B
split-complementary
#9B2282 #459B22 #229B78
monochromatic
#370C2E #691758 #9B2282 #CD2DAC #DB5CC1

Accessibility & contrast

On white

7.13
#9B2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2282
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2282#FFFFFF#000000##FFFFFF
##9B22821.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A42950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2282;
/* rgb */ color: rgb(155, 34, 130);
/* oklch */ color: oklch(48.4% 0.185 338.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ba6',
    500: '#9b2282',
    950: '#000000',
  },
}
SCSS
$custom: #9b2282;
$custom-light: #bc6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2282",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 312.397,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.18469,
    "h": 338
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#9B2282
secondary
#59C06E
accent
#E76341
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2282

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

Preview Lab → · Contrast checker → · Palette generator →

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