#9B2A6E#9B2A6E

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

Color values

HEX#9B2A6E
RGBrgb(155, 42, 110)
HSLhsl(324, 57%, 39%)
HSVhsv(324, 73%, 61%)
CMYKcmyk(0%, 72.9%, 29%, 39.2%)
CIE-LABlab(37.39, 52.45, -12.88)
CIE-LCHlch(37.39, 54.01, 346.21°)
OKLaboklab(48.19% 0.1596 -0.0339)
OKLCHoklch(48.19% 0.163 348)
XYZxyz(17.1608, 9.7522, 15.7274)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A6E #2A9B57
analogous
#8F2A9B #9B2A6E #9B2A35
triadic
#9B2A6E #6E9B2A #2A6E9B
tetradic
#9B2A6E #9B8F2A #2A9B57 #2A359B
square
#9B2A6E #9B8F2A #2A9B57 #2A359B
split-complementary
#9B2A6E #359B2A #2A9B8F
monochromatic
#3B102A #6B1D4C #9B2A6E #C93990 #D669AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2A6E#FFFFFF#000000##FFFFFF
##9B2A6E1.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)
#3A4B70
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#A62548
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2a6e;
/* rgb */ color: rgb(155, 42, 110);
/* oklch */ color: oklch(48.2% 0.163 348.0);
Tailwind
colors: {
  custom: {
    50: '#bc6e97',
    500: '#9b2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a6e;
$custom-light: #bc6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a6e",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 323.894,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.16317,
    "h": 348
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#9B2A6E
secondary
#64BD87
accent
#E18447
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9B2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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