#9B1F79#9B1F79

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

Color values

HEX#9B1F79
RGBrgb(155, 31, 121)
HSLhsl(316, 67%, 36%)
HSVhsv(316, 80%, 61%)
CMYKcmyk(0%, 80%, 21.9%, 39.2%)
CIE-LABlab(36.61, 57.44, -20.98)
CIE-LCHlch(36.61, 61.16, 339.93°)
OKLaboklab(47.77% 0.1728 -0.0564)
OKLCHoklch(47.77% 0.182 341.9)
XYZxyz(17.4594, 9.3309, 18.9670)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F79 #1F9B41
analogous
#7F1F9B #9B1F79 #9B1F3B
triadic
#9B1F79 #799B1F #1F799B
tetradic
#9B1F79 #9B7F1F #1F9B41 #1F3B9B
square
#9B1F79 #9B7F1F #1F9B41 #1F3B9B
split-complementary
#9B1F79 #3B9B1F #1F9B7F
monochromatic
#350B29 #681551 #9B1F79 #CE29A1 #DD57B9

Accessibility & contrast

On white

7.33
#9B1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F79
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F79#FFFFFF#000000##FFFFFF
##9B1F791.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A5214A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f79;
/* rgb */ color: rgb(155, 31, 121);
/* oklch */ color: oklch(47.8% 0.182 341.9);
Tailwind
colors: {
  custom: {
    50: '#bd6aa0',
    500: '#9b1f79',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f79;
$custom-light: #bd6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f79",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 316.452,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.18175,
    "h": 341.9
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#9B1F79
secondary
#55C172
accent
#EA6D3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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