#9B1F7B#9B1F7B

#9B1F7B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 341.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B1F7B
RGBrgb(155, 31, 123)
HSLhsl(315, 67%, 36%)
HSVhsv(315, 80%, 61%)
CMYKcmyk(0%, 80%, 20.6%, 39.2%)
CIE-LABlab(36.71, 57.72, -22.09)
CIE-LCHlch(36.71, 61.80, 339.06°)
OKLaboklab(47.87% 0.1731 -0.0595)
OKLCHoklch(47.87% 0.183 341)
XYZxyz(17.5833, 9.3804, 19.6196)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F7B #1F9B3F
analogous
#7D1F9B #9B1F7B #9B1F3D
triadic
#9B1F7B #7B9B1F #1F7B9B
tetradic
#9B1F7B #9B7D1F #1F9B3F #1F3D9B
square
#9B1F7B #9B7D1F #1F9B3F #1F3D9B
split-complementary
#9B1F7B #3D9B1F #1F9B7D
monochromatic
#350B2A #681553 #9B1F7B #CE29A3 #DD57BB

Accessibility & contrast

On white

7.30
#9B1F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B1F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F7B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F7B#FFFFFF#000000##FFFFFF
##9B1F7B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A5224B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f7b;
/* rgb */ color: rgb(155, 31, 123);
/* oklch */ color: oklch(47.9% 0.183 341.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aa1',
    500: '#9b1f7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f7b;
$custom-light: #bc6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f7b",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 315.484,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.18301,
    "h": 341
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#9B1F7B
secondary
#55C171
accent
#EA6A3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B1F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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