#9B1D7F#9B1D7F

#9B1D7F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 339.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B1D7F
RGBrgb(155, 29, 127)
HSLhsl(313, 68%, 36%)
HSVhsv(313, 81%, 61%)
CMYKcmyk(0%, 81.3%, 18.1%, 39.2%)
CIE-LABlab(36.71, 58.81, -24.58)
CIE-LCHlch(36.71, 63.74, 337.32°)
OKLaboklab(47.94% 0.1752 -0.0666)
OKLCHoklch(47.94% 0.187 339.2)
XYZxyz(17.7882, 9.3814, 20.9485)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D7F #1D9B39
analogous
#781D9B #9B1D7F #9B1D40
triadic
#9B1D7F #7F9B1D #1D7F9B
tetradic
#9B1D7F #9B781D #1D9B39 #1D409B
square
#9B1D7F #9B781D #1D9B39 #1D409B
split-complementary
#9B1D7F #409B1D #1D9B78
monochromatic
#340A2B #671355 #9B1D7F #CF27A9 #DF53C0

Accessibility & contrast

On white

7.30
#9B1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B1D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D7F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D7F#FFFFFF#000000##FFFFFF
##9B1D7F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A4234D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1d7f;
/* rgb */ color: rgb(155, 29, 127);
/* oklch */ color: oklch(47.9% 0.187 339.2);
Tailwind
colors: {
  custom: {
    50: '#bc69a4',
    500: '#9b1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d7f;
$custom-light: #bc69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d7f",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 313.333,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.18744,
    "h": 339.2
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#9B1D7F
secondary
#52C26B
accent
#EB633C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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