#9B2280#9B2280

#9B2280 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.183 H 338.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9B2280
RGBrgb(155, 34, 128)
HSLhsl(313, 64%, 37%)
HSVhsv(313, 78%, 61%)
CMYKcmyk(0%, 78.1%, 17.4%, 39.2%)
CIE-LABlab(37.25, 57.54, -24.36)
CIE-LCHlch(37.25, 62.48, 337.05°)
OKLaboklab(48.34% 0.171 -0.066)
OKLCHoklch(48.34% 0.183 338.9)
XYZxyz(17.9863, 9.6729, 21.3377)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2280 #229B3D
analogous
#79229B #9B2280 #9B2244
triadic
#9B2280 #809B22 #22809B
tetradic
#9B2280 #9B7922 #229B3D #22449B
square
#9B2280 #9B7922 #229B3D #22449B
split-complementary
#9B2280 #449B22 #229B79
monochromatic
#370C2D #691757 #9B2280 #CD2DA9 #DB5CBF

Accessibility & contrast

On white

7.16
#9B2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2280
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2280#FFFFFF#000000##FFFFFF
##9B22801.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C82
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A4284F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2280;
/* rgb */ color: rgb(155, 34, 128);
/* oklch */ color: oklch(48.3% 0.183 338.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ba5',
    500: '#9b2280',
    950: '#000000',
  },
}
SCSS
$custom: #9b2280;
$custom-light: #bc6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2280",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 313.388,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.18334,
    "h": 338.9
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#9B2280
secondary
#59C070
accent
#E76641
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2280

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

Preview Lab → · Contrast checker → · Palette generator →

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