#9B1F73#9B1F73

#9B1F73 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 344.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9B1F73
RGBrgb(155, 31, 115)
HSLhsl(319, 67%, 36%)
HSVhsv(319, 80%, 61%)
CMYKcmyk(0%, 80%, 25.8%, 39.2%)
CIE-LABlab(36.34, 56.66, -17.63)
CIE-LCHlch(36.34, 59.34, 342.71°)
OKLaboklab(47.49% 0.1718 -0.047)
OKLCHoklch(47.49% 0.178 344.7)
XYZxyz(17.1028, 9.1882, 17.0892)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F73 #1F9B47
analogous
#851F9B #9B1F73 #9B1F35
triadic
#9B1F73 #739B1F #1F739B
tetradic
#9B1F73 #9B851F #1F9B47 #1F359B
square
#9B1F73 #9B851F #1F9B47 #1F359B
split-complementary
#9B1F73 #359B1F #1F9B85
monochromatic
#350B27 #68154D #9B1F73 #CE2999 #DD57B2

Accessibility & contrast

On white

7.40
#9B1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F73
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F73#FFFFFF#000000##FFFFFF
##9B1F731.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#A61D47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1f73;
/* rgb */ color: rgb(155, 31, 115);
/* oklch */ color: oklch(47.5% 0.178 344.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a9b',
    500: '#9b1f73',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f73;
$custom-light: #bd6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f73",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 319.355,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.17807,
    "h": 344.7
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#9B1F73
secondary
#55C178
accent
#EA753E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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