#9B1E71#9B1E71

#9B1E71 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.178 H 345.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9B1E71
RGBrgb(155, 30, 113)
HSLhsl(320, 68%, 36%)
HSVhsv(320, 81%, 61%)
CMYKcmyk(0%, 80.6%, 27.1%, 39.2%)
CIE-LABlab(36.16, 56.68, -16.66)
CIE-LCHlch(36.16, 59.08, 343.62°)
OKLaboklab(47.33% 0.1723 -0.0443)
OKLCHoklch(47.33% 0.178 345.6)
XYZxyz(16.9633, 9.0913, 16.4811)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E71 #1E9B48
analogous
#871E9B #9B1E71 #9B1E33
triadic
#9B1E71 #719B1E #1E719B
tetradic
#9B1E71 #9B871E #1E9B48 #1E339B
square
#9B1E71 #9B871E #1E9B48 #1E339B
split-complementary
#9B1E71 #339B1E #1E9B87
monochromatic
#340A26 #68144C #9B1E71 #CE2896 #DE55B0

Accessibility & contrast

On white

7.45
#9B1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9B1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E71
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E71#FFFFFF#000000##FFFFFF
##9B1E711.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#565D6E
Tritanopia (blue-blind)
#A61B46
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1e71;
/* rgb */ color: rgb(155, 30, 113);
/* oklch */ color: oklch(47.3% 0.178 345.6);
Tailwind
colors: {
  custom: {
    50: '#bd699a',
    500: '#9b1e71',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e71;
$custom-light: #bd699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e71",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 320.16,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47329,
    "c": 0.17786,
    "h": 345.6
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#9B1E71
secondary
#53C278
accent
#EA783D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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