#9B2A6D#9B2A6D

#9B2A6D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.163 H 348.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9B2A6D
RGBrgb(155, 42, 109)
HSLhsl(324, 57%, 39%)
HSVhsv(324, 73%, 61%)
CMYKcmyk(0%, 72.9%, 29.7%, 39.2%)
CIE-LABlab(37.35, 52.33, -12.31)
CIE-LCHlch(37.35, 53.75, 346.76°)
OKLaboklab(48.14% 0.1594 -0.0323)
OKLCHoklch(48.14% 0.163 348.5)
XYZxyz(17.1067, 9.7305, 15.4423)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A6D #2A9B58
analogous
#902A9B #9B2A6D #9B2A34
triadic
#9B2A6D #6D9B2A #2A6D9B
tetradic
#9B2A6D #9B902A #2A9B58 #2A349B
square
#9B2A6D #9B902A #2A9B58 #2A349B
split-complementary
#9B2A6D #349B2A #2A9B90
monochromatic
#3B1029 #6B1D4B #9B2A6D #C9398F #D669AA

Accessibility & contrast

On white

7.13
#9B2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2A6D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A6D#FFFFFF#000000##FFFFFF
##9B2A6D1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#A62548
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2a6d;
/* rgb */ color: rgb(155, 42, 109);
/* oklch */ color: oklch(48.1% 0.163 348.5);
Tailwind
colors: {
  custom: {
    50: '#bc6e97',
    500: '#9b2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a6d;
$custom-light: #bc6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a6d",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 324.425,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.1626,
    "h": 348.5
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#9B2A6D
secondary
#64BD88
accent
#E18647
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9B2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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