#9B1F71#9B1F71

#9B1F71 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.177 H 345.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9B1F71
RGBrgb(155, 31, 113)
HSLhsl(320, 67%, 36%)
HSVhsv(320, 80%, 61%)
CMYKcmyk(0%, 80%, 27.1%, 39.2%)
CIE-LABlab(36.26, 56.40, -16.51)
CIE-LCHlch(36.26, 58.77, 343.69°)
OKLaboklab(47.4% 0.1714 -0.0439)
OKLCHoklch(47.4% 0.177 345.6)
XYZxyz(16.9890, 9.1427, 16.4896)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F71 #1F9B49
analogous
#871F9B #9B1F71 #9B1F33
triadic
#9B1F71 #719B1F #1F719B
tetradic
#9B1F71 #9B871F #1F9B49 #1F339B
square
#9B1F71 #9B871F #1F9B49 #1F339B
split-complementary
#9B1F71 #339B1F #1F9B87
monochromatic
#350B27 #68154C #9B1F71 #CE2996 #DD57B0

Accessibility & contrast

On white

7.43
#9B1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B1F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F71
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F71#FFFFFF#000000##FFFFFF
##9B1F711.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A61C46
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1f71;
/* rgb */ color: rgb(155, 31, 113);
/* oklch */ color: oklch(47.4% 0.177 345.6);
Tailwind
colors: {
  custom: {
    50: '#bd699a',
    500: '#9b1f71',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f71;
$custom-light: #bd699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f71",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 320.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.474,
    "c": 0.1769,
    "h": 345.6
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#9B1F71
secondary
#55C179
accent
#EA783E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F71

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

Preview Lab → · Contrast checker → · Palette generator →

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