#9B2A52#9B2A52

#9B2A52 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.151 H 3.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9B2A52
RGBrgb(155, 42, 82)
HSLhsl(339, 57%, 39%)
HSVhsv(339, 73%, 61%)
CMYKcmyk(0%, 72.9%, 47.1%, 39.2%)
CIE-LABlab(36.43, 49.32, 3.52)
CIE-LCHlch(36.43, 49.44, 4.08°)
OKLaboklab(47.17% 0.1509 0.0096)
OKLCHoklch(47.17% 0.151 3.6)
XYZxyz(15.8698, 9.2358, 8.9280)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A52 #2A9B73
analogous
#9B2A8A #9B2A52 #9B3A2A
triadic
#9B2A52 #529B2A #2A529B
tetradic
#9B2A52 #8A9B2A #2A9B73 #3A2A9B
square
#9B2A52 #8A9B2A #2A9B73 #3A2A9B
split-complementary
#9B2A52 #2A9B3A #2A8A9B
monochromatic
#3B101F #6B1D39 #9B2A52 #C9396C #D66990

Accessibility & contrast

On white

7.38
#9B2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A52
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A52#FFFFFF#000000##FFFFFF
##9B2A521.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#A9173B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2a52;
/* rgb */ color: rgb(155, 42, 82);
/* oklch */ color: oklch(47.2% 0.151 3.6);
Tailwind
colors: {
  custom: {
    50: '#be6d82',
    500: '#9b2a52',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a52;
$custom-light: #be6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a52",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 338.761,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.15119,
    "h": 3.6
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#9B2A52
secondary
#64BD9D
accent
#E1AA47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9B2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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