#9B1E78#9B1E78

#9B1E78 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.182 H 342.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9B1E78
RGBrgb(155, 30, 120)
HSLhsl(317, 68%, 36%)
HSVhsv(317, 81%, 61%)
CMYKcmyk(0%, 80.6%, 22.6%, 39.2%)
CIE-LABlab(36.47, 57.59, -20.58)
CIE-LCHlch(36.47, 61.16, 340.34°)
OKLaboklab(47.66% 0.1735 -0.0553)
OKLCHoklch(47.66% 0.182 342.3)
XYZxyz(17.3727, 9.2550, 18.6372)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E78 #1E9B41
analogous
#801E9B #9B1E78 #9B1E3A
triadic
#9B1E78 #789B1E #1E789B
tetradic
#9B1E78 #9B801E #1E9B41 #1E3A9B
square
#9B1E78 #9B801E #1E9B41 #1E3A9B
split-complementary
#9B1E78 #3A9B1E #1E9B80
monochromatic
#340A29 #681450 #9B1E78 #CE28A0 #DE55B8

Accessibility & contrast

On white

7.37
#9B1E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B1E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E78
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E78#FFFFFF#000000##FFFFFF
##9B1E781.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A5204A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1e78;
/* rgb */ color: rgb(155, 30, 120);
/* oklch */ color: oklch(47.7% 0.182 342.3);
Tailwind
colors: {
  custom: {
    50: '#bd699f',
    500: '#9b1e78',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e78;
$custom-light: #bd699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e78",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 316.8,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.18206,
    "h": 342.3
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#9B1E78
secondary
#53C272
accent
#EA6E3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1E78

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

Preview Lab → · Contrast checker → · Palette generator →

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