#9B3771#9B3771

#9B3771 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.7% C 0.147 H 348.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9B3771
RGBrgb(155, 55, 113)
HSLhsl(325, 48%, 41%)
HSVhsv(325, 65%, 61%)
CMYKcmyk(0%, 64.5%, 27.1%, 39.2%)
CIE-LABlab(39.40, 47.61, -11.71)
CIE-LCHlch(39.40, 49.03, 346.18°)
OKLaboklab(49.7% 0.1442 -0.0308)
OKLCHoklch(49.7% 0.147 348)
XYZxyz(17.8651, 10.8950, 16.7817)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3771 #379B61
analogous
#93379B #9B3771 #9B373F
triadic
#9B3771 #719B37 #37719B
tetradic
#9B3771 #9B9337 #379B61 #373F9B
square
#9B3771 #9B9337 #379B61 #373F9B
split-complementary
#9B3771 #3F9B37 #379B93
monochromatic
#41172F #6E2750 #9B3771 #C04F91 #D07CAD

Accessibility & contrast

On white

6.61
#9B3771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9B3771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3771
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3771#FFFFFF#000000##FFFFFF
##9B37711.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#5F636F
Tritanopia (blue-blind)
#A6344F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b3771;
/* rgb */ color: rgb(155, 55, 113);
/* oklch */ color: oklch(49.7% 0.147 348.0);
Tailwind
colors: {
  custom: {
    50: '#bc7499',
    500: '#9b3771',
    950: '#000000',
  },
}
SCSS
$custom: #9b3771;
$custom-light: #bc7499;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3771",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 325.2,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.1474,
    "h": 348
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#9B3771
secondary
#74BA91
accent
#D78951
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9B3771

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

Preview Lab → · Contrast checker → · Palette generator →

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