#9B2A5A#9B2A5A

#9B2A5A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.154 H 359.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9B2A5A
RGBrgb(155, 42, 90)
HSLhsl(335, 57%, 39%)
HSVhsv(335, 73%, 61%)
CMYKcmyk(0%, 72.9%, 41.9%, 39.2%)
CIE-LABlab(36.68, 50.12, -1.26)
CIE-LCHlch(36.68, 50.14, 358.56°)
OKLaboklab(47.43% 0.1537 -0.0027)
OKLCHoklch(47.43% 0.154 359)
XYZxyz(16.1922, 9.3647, 10.6258)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A5A #2A9B6B
analogous
#9B2A92 #9B2A5A #9B322A
triadic
#9B2A5A #5A9B2A #2A5A9B
tetradic
#9B2A5A #929B2A #2A9B6B #322A9B
square
#9B2A5A #929B2A #2A9B6B #322A9B
split-complementary
#9B2A5A #2A9B32 #2A929B
monochromatic
#3B1022 #6B1D3E #9B2A5A #C93976 #D66997

Accessibility & contrast

On white

7.31
#9B2A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B2A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A5A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A5A#FFFFFF#000000##FFFFFF
##9B2A5A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495B
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#A81B3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2a5a;
/* rgb */ color: rgb(155, 42, 90);
/* oklch */ color: oklch(47.4% 0.154 359.0);
Tailwind
colors: {
  custom: {
    50: '#bd6d88',
    500: '#9b2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a5a;
$custom-light: #bd6d88;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a5a",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 334.513,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47426,
    "c": 0.15375,
    "h": 359
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#9B2A5A
secondary
#64BD97
accent
#E19F47
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9B2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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