#9B2F80#9B2F80

#9B2F80 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 339.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9B2F80
RGBrgb(155, 47, 128)
HSLhsl(315, 53%, 40%)
HSVhsv(315, 70%, 61%)
CMYKcmyk(0%, 69.7%, 17.4%, 39.2%)
CIE-LABlab(38.83, 53.06, -21.90)
CIE-LCHlch(38.83, 57.40, 337.57°)
OKLaboklab(49.49% 0.1575 -0.0591)
OKLCHoklch(49.49% 0.168 339.4)
XYZxyz(18.4308, 10.5618, 21.4859)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F80 #2F9B4A
analogous
#802F9B #9B2F80 #9B2F4A
triadic
#9B2F80 #809B2F #2F809B
tetradic
#9B2F80 #9B802F #2F9B4A #2F4A9B
square
#9B2F80 #9B802F #2F9B4A #2F4A9B
split-complementary
#9B2F80 #4A9B2F #2F9B80
monochromatic
#3D1332 #6C2159 #9B2F80 #C642A5 #D471BB

Accessibility & contrast

On white

6.75
#9B2F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B2F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F80
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F80#FFFFFF#000000##FFFFFF
##9B2F801.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355182
Deuteranopia (green-blind)
#57627D
Tritanopia (blue-blind)
#A43353
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2f80;
/* rgb */ color: rgb(155, 47, 128);
/* oklch */ color: oklch(49.5% 0.168 339.4);
Tailwind
colors: {
  custom: {
    50: '#bc71a5',
    500: '#9b2f80',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f80;
$custom-light: #bc71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f80",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 315,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.16826,
    "h": 339.4
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#9B2F80
secondary
#6ABB7F
accent
#DD6F4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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