#9B2671#9B2671

#9B2671 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.170 H 346.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9B2671
RGBrgb(155, 38, 113)
HSLhsl(322, 61%, 38%)
HSVhsv(322, 75%, 61%)
CMYKcmyk(0%, 75.5%, 27.1%, 39.2%)
CIE-LABlab(37.02, 54.23, -15.34)
CIE-LCHlch(37.02, 56.36, 344.21°)
OKLaboklab(47.95% 0.1646 -0.0406)
OKLCHoklch(47.95% 0.17 346.1)
XYZxyz(17.1921, 9.5489, 16.5573)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2671 #269B50
analogous
#8A269B #9B2671 #9B2637
triadic
#9B2671 #719B26 #26719B
tetradic
#9B2671 #9B8A26 #269B50 #26379B
square
#9B2671 #9B8A26 #269B50 #26379B
split-complementary
#9B2671 #379B26 #269B8A
monochromatic
#390E29 #6A1A4D #9B2671 #CC3295 #D963AE

Accessibility & contrast

On white

7.22
#9B2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2671
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2671#FFFFFF#000000##FFFFFF
##9B26711.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#A62348
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2671;
/* rgb */ color: rgb(155, 38, 113);
/* oklch */ color: oklch(48.0% 0.170 346.1);
Tailwind
colors: {
  custom: {
    50: '#bc6c9a',
    500: '#9b2671',
    950: '#000000',
  },
}
SCSS
$custom: #9b2671;
$custom-light: #bc6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2671",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 321.538,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.16958,
    "h": 346.1
  },
  "luminance": 0.09547
}

Semantic roles & 50–950 ramp

primary
#9B2671
secondary
#5FBE81
accent
#E47D44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9B2671

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

Preview Lab → · Contrast checker → · Palette generator →

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