#9B1E7E#9B1E7E

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

Color values

HEX#9B1E7E
RGBrgb(155, 30, 126)
HSLhsl(314, 68%, 36%)
HSVhsv(314, 81%, 61%)
CMYKcmyk(0%, 80.6%, 18.7%, 39.2%)
CIE-LABlab(36.75, 58.40, -23.89)
CIE-LCHlch(36.75, 63.10, 337.75°)
OKLaboklab(47.95% 0.1743 -0.0646)
OKLCHoklch(47.95% 0.186 339.6)
XYZxyz(17.7483, 9.4053, 20.6153)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E7E #1E9B3B
analogous
#7A1E9B #9B1E7E #9B1E40
triadic
#9B1E7E #7E9B1E #1E7E9B
tetradic
#9B1E7E #9B7A1E #1E9B3B #1E409B
square
#9B1E7E #9B7A1E #1E9B3B #1E409B
split-complementary
#9B1E7E #409B1E #1E9B7A
monochromatic
#340A2B #681454 #9B1E7E #CE28A8 #DE55BE

Accessibility & contrast

On white

7.29
#9B1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1E7E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E7E#FFFFFF#000000##FFFFFF
##9B1E7E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1e7e;
/* rgb */ color: rgb(155, 30, 126);
/* oklch */ color: oklch(48.0% 0.186 339.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aa3',
    500: '#9b1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e7e;
$custom-light: #bc6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e7e",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 313.92,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.18588,
    "h": 339.6
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#9B1E7E
secondary
#53C26D
accent
#EA663D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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