#9B1F66#9B1F66

#9B1F66 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 351.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9B1F66
RGBrgb(155, 31, 102)
HSLhsl(326, 67%, 36%)
HSVhsv(326, 80%, 61%)
CMYKcmyk(0%, 80%, 34.2%, 39.2%)
CIE-LABlab(35.81, 55.08, -10.21)
CIE-LCHlch(35.81, 56.02, 349.50°)
OKLaboklab(46.93% 0.1689 -0.0265)
OKLCHoklch(46.93% 0.171 351.1)
XYZxyz(16.4068, 8.9098, 13.4236)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F66 #1F9B54
analogous
#921F9B #9B1F66 #9B1F28
triadic
#9B1F66 #669B1F #1F669B
tetradic
#9B1F66 #9B921F #1F9B54 #1F289B
square
#9B1F66 #9B921F #1F9B54 #1F289B
split-complementary
#9B1F66 #289B1F #1F9B92
monochromatic
#350B23 #681544 #9B1F66 #CE2988 #DD57A4

Accessibility & contrast

On white

7.55
#9B1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9B1F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F66
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F66#FFFFFF#000000##FFFFFF
##9B1F661.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#5A5C63
Tritanopia (blue-blind)
#A71340
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b1f66;
/* rgb */ color: rgb(155, 31, 102);
/* oklch */ color: oklch(46.9% 0.171 351.1);
Tailwind
colors: {
  custom: {
    50: '#bd6991',
    500: '#9b1f66',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f66;
$custom-light: #bd6991;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f66",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 325.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46929,
    "c": 0.17096,
    "h": 351.1
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#9B1F66
secondary
#55C183
accent
#EA873E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B1F66

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

Preview Lab → · Contrast checker → · Palette generator →

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