#9B2A85#9B2A85

#9B2A85 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.178 H 336.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2A85
RGBrgb(155, 42, 133)
HSLhsl(312, 57%, 39%)
HSVhsv(312, 73%, 61%)
CMYKcmyk(0%, 72.9%, 14.2%, 39.2%)
CIE-LABlab(38.41, 55.65, -25.64)
CIE-LCHlch(38.41, 61.28, 335.26°)
OKLaboklab(49.26% 0.1638 -0.0697)
OKLCHoklch(49.26% 0.178 336.9)
XYZxyz(18.5795, 10.3196, 23.1991)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A85 #2A9B40
analogous
#782A9B #9B2A85 #9B2A4D
triadic
#9B2A85 #859B2A #2A859B
tetradic
#9B2A85 #9B782A #2A9B40 #2A4D9B
square
#9B2A85 #9B782A #2A9B40 #2A4D9B
split-complementary
#9B2A85 #4D9B2A #2A9B78
monochromatic
#3B1032 #6B1D5C #9B2A85 #C939AD #D669C1

Accessibility & contrast

On white

6.85
#9B2A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2A85
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A85#FFFFFF#000000##FFFFFF
##9B2A851.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F88
Deuteranopia (green-blind)
#536182
Tritanopia (blue-blind)
#A33154
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2a85;
/* rgb */ color: rgb(155, 42, 133);
/* oklch */ color: oklch(49.3% 0.178 336.9);
Tailwind
colors: {
  custom: {
    50: '#bc6fa9',
    500: '#9b2a85',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a85;
$custom-light: #bc6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a85",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 311.681,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.17801,
    "h": 336.9
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#9B2A85
secondary
#64BD75
accent
#E16547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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