#9B1E76#9B1E76

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

Color values

HEX#9B1E76
RGBrgb(155, 30, 118)
HSLhsl(318, 68%, 36%)
HSVhsv(318, 81%, 61%)
CMYKcmyk(0%, 80.6%, 23.9%, 39.2%)
CIE-LABlab(36.38, 57.33, -19.47)
CIE-LCHlch(36.38, 60.54, 341.24°)
OKLaboklab(47.56% 0.1732 -0.0521)
OKLCHoklch(47.56% 0.181 343.2)
XYZxyz(17.2525, 9.2070, 18.0046)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E76 #1E9B43
analogous
#821E9B #9B1E76 #9B1E38
triadic
#9B1E76 #769B1E #1E769B
tetradic
#9B1E76 #9B821E #1E9B43 #1E389B
square
#9B1E76 #9B821E #1E9B43 #1E389B
split-complementary
#9B1E76 #389B1E #1E9B82
monochromatic
#340A28 #68144F #9B1E76 #CE289D #DE55B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1E76#FFFFFF#000000##FFFFFF
##9B1E761.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)
#2D4978
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A51E48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1e76;
/* rgb */ color: rgb(155, 30, 118);
/* oklch */ color: oklch(47.6% 0.181 343.2);
Tailwind
colors: {
  custom: {
    50: '#bd699d',
    500: '#9b1e76',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e76;
$custom-light: #bd699d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e76",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 317.76,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4756,
    "c": 0.18083,
    "h": 343.2
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#9B1E76
secondary
#53C274
accent
#EA713D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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