#9B2284#9B2284

#9B2284 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.186 H 337.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9B2284
RGBrgb(155, 34, 132)
HSLhsl(311, 64%, 37%)
HSVhsv(311, 78%, 61%)
CMYKcmyk(0%, 78.1%, 14.8%, 39.2%)
CIE-LABlab(37.45, 58.11, -26.53)
CIE-LCHlch(37.45, 63.88, 335.46°)
OKLaboklab(48.55% 0.1715 -0.0722)
OKLCHoklch(48.55% 0.186 337.2)
XYZxyz(18.2548, 9.7803, 22.7517)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2284 #229B39
analogous
#76229B #9B2284 #9B2248
triadic
#9B2284 #849B22 #22849B
tetradic
#9B2284 #9B7622 #229B39 #22489B
square
#9B2284 #9B7622 #229B39 #22489B
split-complementary
#9B2284 #489B22 #229B76
monochromatic
#370C2F #691759 #9B2284 #CD2DAF #DB5CC3

Accessibility & contrast

On white

7.10
#9B2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2284
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2284#FFFFFF#000000##FFFFFF
##9B22841.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A42A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2284;
/* rgb */ color: rgb(155, 34, 132);
/* oklch */ color: oklch(48.5% 0.186 337.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ba8',
    500: '#9b2284',
    950: '#000000',
  },
}
SCSS
$custom: #9b2284;
$custom-light: #bc6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2284",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 311.405,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.18606,
    "h": 337.2
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#9B2284
secondary
#59C06D
accent
#E76041
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2284

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

Preview Lab → · Contrast checker → · Palette generator →

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