#9B2A6F#9B2A6F

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

Color values

HEX#9B2A6F
RGBrgb(155, 42, 111)
HSLhsl(323, 57%, 39%)
HSVhsv(323, 73%, 61%)
CMYKcmyk(0%, 72.9%, 28.4%, 39.2%)
CIE-LABlab(37.43, 52.58, -13.45)
CIE-LCHlch(37.43, 54.27, 345.65°)
OKLaboklab(48.23% 0.1599 -0.0354)
OKLCHoklch(48.23% 0.164 347.5)
XYZxyz(17.2156, 9.7741, 16.0158)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A6F #2A9B56
analogous
#8E2A9B #9B2A6F #9B2A36
triadic
#9B2A6F #6F9B2A #2A6F9B
tetradic
#9B2A6F #9B8E2A #2A9B56 #2A369B
square
#9B2A6F #9B8E2A #2A9B56 #2A369B
split-complementary
#9B2A6F #369B2A #2A9B8E
monochromatic
#3B102A #6B1D4D #9B2A6F #C93991 #D669AC

Accessibility & contrast

On white

7.11
#9B2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2A6F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A6F#FFFFFF#000000##FFFFFF
##9B2A6F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#5B5F6C
Tritanopia (blue-blind)
#A62649
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2a6f;
/* rgb */ color: rgb(155, 42, 111);
/* oklch */ color: oklch(48.2% 0.164 347.5);
Tailwind
colors: {
  custom: {
    50: '#bc6e98',
    500: '#9b2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a6f;
$custom-light: #bc6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a6f",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 323.363,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.16373,
    "h": 347.5
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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