#9B1F62#9B1F62

#9B1F62 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.169 H 353.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9B1F62
RGBrgb(155, 31, 98)
HSLhsl(328, 67%, 36%)
HSVhsv(328, 80%, 61%)
CMYKcmyk(0%, 80%, 36.8%, 39.2%)
CIE-LABlab(35.66, 54.63, -7.89)
CIE-LCHlch(35.66, 55.19, 351.79°)
OKLaboklab(46.77% 0.1678 -0.0202)
OKLCHoklch(46.77% 0.169 353.1)
XYZxyz(16.2132, 8.8324, 12.4039)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F62 #1F9B58
analogous
#961F9B #9B1F62 #9B1F24
triadic
#9B1F62 #629B1F #1F629B
tetradic
#9B1F62 #9B961F #1F9B58 #1F249B
square
#9B1F62 #9B961F #1F9B58 #1F249B
split-complementary
#9B1F62 #249B1F #1F9B96
monochromatic
#350B22 #681542 #9B1F62 #CE2982 #DD57A0

Accessibility & contrast

On white

7.59
#9B1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9B1F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F62
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F62#FFFFFF#000000##FFFFFF
##9B1F621.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#A7103E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b1f62;
/* rgb */ color: rgb(155, 31, 98);
/* oklch */ color: oklch(46.8% 0.169 353.1);
Tailwind
colors: {
  custom: {
    50: '#bd698e',
    500: '#9b1f62',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f62;
$custom-light: #bd698e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f62",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 327.581,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.16902,
    "h": 353.1
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#9B1F62
secondary
#55C187
accent
#EA8D3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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