#9B1E7D#9B1E7D

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

Color values

HEX#9B1E7D
RGBrgb(155, 30, 125)
HSLhsl(314, 68%, 36%)
HSVhsv(314, 81%, 61%)
CMYKcmyk(0%, 80.6%, 19.4%, 39.2%)
CIE-LABlab(36.71, 58.26, -23.34)
CIE-LCHlch(36.71, 62.77, 338.17°)
OKLaboklab(47.9% 0.1742 -0.0631)
OKLCHoklch(47.9% 0.185 340.1)
XYZxyz(17.6840, 9.3796, 20.2772)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E7D #1E9B3C
analogous
#7B1E9B #9B1E7D #9B1E3F
triadic
#9B1E7D #7D9B1E #1E7D9B
tetradic
#9B1E7D #9B7B1E #1E9B3C #1E3F9B
square
#9B1E7D #9B7B1E #1E9B3C #1E3F9B
split-complementary
#9B1E7D #3F9B1E #1E9B7B
monochromatic
#340A2A #681454 #9B1E7D #CE28A6 #DE55BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1E7D#FFFFFF#000000##FFFFFF
##9B1E7D1.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)
#284A7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A5234C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1e7d;
/* rgb */ color: rgb(155, 30, 125);
/* oklch */ color: oklch(47.9% 0.185 340.1);
Tailwind
colors: {
  custom: {
    50: '#bc6aa3',
    500: '#9b1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e7d;
$custom-light: #bc6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e7d",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 314.4,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47901,
    "c": 0.18524,
    "h": 340.1
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#9B1E7D
secondary
#53C26E
accent
#EA673D
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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