#9B1C7E#9B1C7E

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

Color values

HEX#9B1C7E
RGBrgb(155, 28, 126)
HSLhsl(314, 69%, 36%)
HSVhsv(314, 82%, 61%)
CMYKcmyk(0%, 81.9%, 18.7%, 39.2%)
CIE-LABlab(36.57, 58.93, -24.18)
CIE-LCHlch(36.57, 63.70, 337.69°)
OKLaboklab(47.82% 0.1759 -0.0654)
OKLCHoklch(47.82% 0.188 339.6)
XYZxyz(17.6992, 9.3072, 20.5990)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C7E #1C9B39
analogous
#781C9B #9B1C7E #9B1C3E
triadic
#9B1C7E #7E9B1C #1C7E9B
tetradic
#9B1C7E #9B781C #1C9B39 #1C3E9B
square
#9B1C7E #9B781C #1C9B39 #1C3E9B
split-complementary
#9B1C7E #3E9B1C #1C9B78
monochromatic
#33092A #671354 #9B1C7E #CF25A8 #E052BF

Accessibility & contrast

On white

7.34
#9B1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B1C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1C7E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C7E#FFFFFF#000000##FFFFFF
##9B1C7E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A4224C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1c7e;
/* rgb */ color: rgb(155, 28, 126);
/* oklch */ color: oklch(47.8% 0.188 339.6);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9b1c7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c7e;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c7e",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 313.701,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.18767,
    "h": 339.6
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#9B1C7E
secondary
#50C36A
accent
#EC643C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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