#9B1F74#9B1F74

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

Color values

HEX#9B1F74
RGBrgb(155, 31, 116)
HSLhsl(319, 67%, 36%)
HSVhsv(319, 80%, 61%)
CMYKcmyk(0%, 80%, 25.2%, 39.2%)
CIE-LABlab(36.39, 56.79, -18.20)
CIE-LCHlch(36.39, 59.63, 342.23°)
OKLaboklab(47.54% 0.172 -0.0486)
OKLCHoklch(47.54% 0.179 344.2)
XYZxyz(17.1607, 9.2114, 17.3939)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F74 #1F9B46
analogous
#841F9B #9B1F74 #9B1F36
triadic
#9B1F74 #749B1F #1F749B
tetradic
#9B1F74 #9B841F #1F9B46 #1F369B
square
#9B1F74 #9B841F #1F9B46 #1F369B
split-complementary
#9B1F74 #369B1F #1F9B84
monochromatic
#350B28 #68154E #9B1F74 #CE299A #DD57B3

Accessibility & contrast

On white

7.39
#9B1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F74
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F74#FFFFFF#000000##FFFFFF
##9B1F741.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A61E48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f74;
/* rgb */ color: rgb(155, 31, 116);
/* oklch */ color: oklch(47.5% 0.179 344.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a9c',
    500: '#9b1f74',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f74;
$custom-light: #bd6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f74",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 318.871,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.17868,
    "h": 344.2
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#9B1F74
secondary
#55C177
accent
#EA743E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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