#9B1E7A#9B1E7A

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

Color values

HEX#9B1E7A
RGBrgb(155, 30, 122)
HSLhsl(316, 68%, 36%)
HSVhsv(316, 81%, 61%)
CMYKcmyk(0%, 80.6%, 21.3%, 39.2%)
CIE-LABlab(36.56, 57.86, -21.69)
CIE-LCHlch(36.56, 61.79, 339.45°)
OKLaboklab(47.75% 0.1738 -0.0584)
OKLCHoklch(47.75% 0.183 341.4)
XYZxyz(17.4953, 9.3041, 19.2831)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E7A #1E9B3F
analogous
#7E1E9B #9B1E7A #9B1E3C
triadic
#9B1E7A #7A9B1E #1E7A9B
tetradic
#9B1E7A #9B7E1E #1E9B3F #1E3C9B
square
#9B1E7A #9B7E1E #1E9B3F #1E3C9B
split-complementary
#9B1E7A #3C9B1E #1E9B7E
monochromatic
#340A29 #681452 #9B1E7A #CE28A2 #DE55BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1E7A#FFFFFF#000000##FFFFFF
##9B1E7A1.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)
#2B497C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A5214B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1e7a;
/* rgb */ color: rgb(155, 30, 122);
/* oklch */ color: oklch(47.8% 0.183 341.4);
Tailwind
colors: {
  custom: {
    50: '#bd69a0',
    500: '#9b1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e7a;
$custom-light: #bd69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e7a",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 315.84,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47752,
    "c": 0.18331,
    "h": 341.4
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#9B1E7A
secondary
#53C270
accent
#EA6B3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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