#9B1D7E#9B1D7E

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

Color values

HEX#9B1D7E
RGBrgb(155, 29, 126)
HSLhsl(314, 68%, 36%)
HSVhsv(314, 81%, 61%)
CMYKcmyk(0%, 81.3%, 18.7%, 39.2%)
CIE-LABlab(36.66, 58.67, -24.04)
CIE-LCHlch(36.66, 63.40, 337.72°)
OKLaboklab(47.88% 0.1751 -0.0651)
OKLCHoklch(47.88% 0.187 339.6)
XYZxyz(17.7233, 9.3555, 20.6070)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D7E #1D9B3A
analogous
#791D9B #9B1D7E #9B1D3F
triadic
#9B1D7E #7E9B1D #1D7E9B
tetradic
#9B1D7E #9B791D #1D9B3A #1D3F9B
square
#9B1D7E #9B791D #1D9B3A #1D3F9B
split-complementary
#9B1D7E #3F9B1D #1D9B79
monochromatic
#340A2A #671354 #9B1D7E #CF27A8 #DF53BF

Accessibility & contrast

On white

7.32
#9B1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1D7E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D7E#FFFFFF#000000##FFFFFF
##9B1D7E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A4234D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1d7e;
/* rgb */ color: rgb(155, 29, 126);
/* oklch */ color: oklch(47.9% 0.187 339.6);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9b1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d7e;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d7e",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 313.81,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.18679,
    "h": 339.6
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#9B1D7E
secondary
#52C26C
accent
#EB653C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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