#9B2A5E#9B2A5E

#9B2A5E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.155 H 356.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9B2A5E
RGBrgb(155, 42, 94)
HSLhsl(332, 57%, 39%)
HSVhsv(332, 73%, 61%)
CMYKcmyk(0%, 72.9%, 39.4%, 39.2%)
CIE-LABlab(36.81, 50.55, -3.62)
CIE-LCHlch(36.81, 50.68, 355.91°)
OKLaboklab(47.57% 0.1551 -0.0089)
OKLCHoklch(47.57% 0.155 356.7)
XYZxyz(16.3670, 9.4346, 11.5467)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A5E #2A9B67
analogous
#9B2A96 #9B2A5E #9B2E2A
triadic
#9B2A5E #5E9B2A #2A5E9B
tetradic
#9B2A5E #969B2A #2A9B67 #2E2A9B
square
#9B2A5E #969B2A #2A9B67 #2E2A9B
split-complementary
#9B2A5E #2A9B2E #2A969B
monochromatic
#3B1024 #6B1D41 #9B2A5E #C9397B #D6699B

Accessibility & contrast

On white

7.27
#9B2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A5E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A5E#FFFFFF#000000##FFFFFF
##9B2A5E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#A81D40
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2a5e;
/* rgb */ color: rgb(155, 42, 94);
/* oklch */ color: oklch(47.6% 0.155 356.7);
Tailwind
colors: {
  custom: {
    50: '#bd6d8b',
    500: '#9b2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a5e;
$custom-light: #bd6d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a5e",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 332.389,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.15531,
    "h": 356.7
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#9B2A5E
secondary
#64BD94
accent
#E19A47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9B2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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