#9B2283#9B2283

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

Color values

HEX#9B2283
RGBrgb(155, 34, 131)
HSLhsl(312, 64%, 37%)
HSVhsv(312, 78%, 61%)
CMYKcmyk(0%, 78.1%, 15.5%, 39.2%)
CIE-LABlab(37.40, 57.97, -25.99)
CIE-LCHlch(37.40, 63.53, 335.85°)
OKLaboklab(48.49% 0.1714 -0.0707)
OKLCHoklch(48.49% 0.185 337.6)
XYZxyz(18.1867, 9.7531, 22.3930)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2283 #229B3A
analogous
#77229B #9B2283 #9B2247
triadic
#9B2283 #839B22 #22839B
tetradic
#9B2283 #9B7722 #229B3A #22479B
square
#9B2283 #9B7722 #229B3A #22479B
split-complementary
#9B2283 #479B22 #229B77
monochromatic
#370C2E #691759 #9B2283 #CD2DAD #DB5CC2

Accessibility & contrast

On white

7.12
#9B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2283
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2283#FFFFFF#000000##FFFFFF
##9B22831.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C86
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#A42A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2283;
/* rgb */ color: rgb(155, 34, 131);
/* oklch */ color: oklch(48.5% 0.185 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ba7',
    500: '#9b2283',
    950: '#000000',
  },
}
SCSS
$custom: #9b2283;
$custom-light: #bc6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2283",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 311.901,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.18537,
    "h": 337.6
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#9B2283
secondary
#59C06D
accent
#E76241
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2283

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

Preview Lab → · Contrast checker → · Palette generator →

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