#9B1F7A#9B1F7A

#9B1F7A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.182 H 341.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9B1F7A
RGBrgb(155, 31, 122)
HSLhsl(316, 67%, 36%)
HSVhsv(316, 80%, 61%)
CMYKcmyk(0%, 80%, 21.3%, 39.2%)
CIE-LABlab(36.66, 57.58, -21.54)
CIE-LCHlch(36.66, 61.48, 339.49°)
OKLaboklab(47.82% 0.1729 -0.058)
OKLCHoklch(47.82% 0.182 341.5)
XYZxyz(17.5210, 9.3555, 19.2917)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F7A #1F9B40
analogous
#7E1F9B #9B1F7A #9B1F3C
triadic
#9B1F7A #7A9B1F #1F7A9B
tetradic
#9B1F7A #9B7E1F #1F9B40 #1F3C9B
square
#9B1F7A #9B7E1F #1F9B40 #1F3C9B
split-complementary
#9B1F7A #3C9B1F #1F9B7E
monochromatic
#350B2A #681552 #9B1F7A #CE29A2 #DD57BA

Accessibility & contrast

On white

7.32
#9B1F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B1F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F7A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F7A#FFFFFF#000000##FFFFFF
##9B1F7A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7C
Deuteranopia (green-blind)
#545D77
Tritanopia (blue-blind)
#A5224B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f7a;
/* rgb */ color: rgb(155, 31, 122);
/* oklch */ color: oklch(47.8% 0.182 341.5);
Tailwind
colors: {
  custom: {
    50: '#bd6aa0',
    500: '#9b1f7a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f7a;
$custom-light: #bd6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f7a",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 315.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.18238,
    "h": 341.5
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#9B1F7A
secondary
#55C172
accent
#EA6C3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B1F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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