#9B1A7E#9B1A7E

#9B1A7E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.189 H 339.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9B1A7E
RGBrgb(155, 26, 126)
HSLhsl(313, 71%, 35%)
HSVhsv(313, 83%, 61%)
CMYKcmyk(0%, 83.2%, 18.7%, 39.2%)
CIE-LABlab(36.40, 59.43, -24.45)
CIE-LCHlch(36.40, 64.26, 337.64°)
OKLaboklab(47.69% 0.1774 -0.0662)
OKLCHoklch(47.69% 0.189 339.5)
XYZxyz(17.6534, 9.2155, 20.5837)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A7E #1A9B37
analogous
#771A9B #9B1A7E #9B1A3E
triadic
#9B1A7E #7E9B1A #1A7E9B
tetradic
#9B1A7E #9B771A #1A9B37 #1A3E9B
square
#9B1A7E #9B771A #1A9B37 #1A3E9B
split-complementary
#9B1A7E #3E9B1A #1A9B77
monochromatic
#320829 #671153 #9B1A7E #CF23A9 #E14EC0

Accessibility & contrast

On white

7.39
#9B1A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B1A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A7E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A7E#FFFFFF#000000##FFFFFF
##9B1A7E1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1a7e;
/* rgb */ color: rgb(155, 26, 126);
/* oklch */ color: oklch(47.7% 0.189 339.5);
Tailwind
colors: {
  custom: {
    50: '#bd68a3',
    500: '#9b1a7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a7e;
$custom-light: #bd68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a7e",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 313.488,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.18935,
    "h": 339.5
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#9B1A7E
secondary
#4DC468
accent
#EE623A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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