#9B2A5B#9B2A5B

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

Color values

HEX#9B2A5B
RGBrgb(155, 42, 91)
HSLhsl(334, 57%, 39%)
HSVhsv(334, 73%, 61%)
CMYKcmyk(0%, 72.9%, 41.3%, 39.2%)
CIE-LABlab(36.71, 50.23, -1.85)
CIE-LCHlch(36.71, 50.26, 357.89°)
OKLaboklab(47.46% 0.1541 -0.0042)
OKLCHoklch(47.46% 0.154 358.4)
XYZxyz(16.2350, 9.3818, 10.8514)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A5B #2A9B6A
analogous
#9B2A93 #9B2A5B #9B312A
triadic
#9B2A5B #5B9B2A #2A5B9B
tetradic
#9B2A5B #939B2A #2A9B6A #312A9B
square
#9B2A5B #939B2A #2A9B6A #312A9B
split-complementary
#9B2A5B #2A9B31 #2A939B
monochromatic
#3B1022 #6B1D3F #9B2A5B #C93978 #D66998

Accessibility & contrast

On white

7.30
#9B2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A5B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A5B#FFFFFF#000000##FFFFFF
##9B2A5B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#A81C3F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2a5b;
/* rgb */ color: rgb(155, 42, 91);
/* oklch */ color: oklch(47.5% 0.154 358.4);
Tailwind
colors: {
  custom: {
    50: '#bd6d89',
    500: '#9b2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a5b;
$custom-light: #bd6d89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a5b",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 333.982,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.15413,
    "h": 358.4
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#9B2A5B
secondary
#64BD96
accent
#E19E47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9B2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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