#9E3371#9E3371

#9E3371 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.156 H 348.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E3371
RGBrgb(158, 51, 113)
HSLhsl(325, 51%, 41%)
HSVhsv(325, 68%, 62%)
CMYKcmyk(0%, 67.7%, 28.5%, 38%)
CIE-LABlab(39.29, 50.20, -11.83)
CIE-LCHlch(39.29, 51.58, 346.75°)
OKLaboklab(49.72% 0.1525 -0.031)
OKLCHoklch(49.72% 0.156 348.5)
XYZxyz(18.2658, 10.8309, 16.7482)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3371 #339E60
analogous
#95339E #9E3371 #9E333B
triadic
#9E3371 #719E33 #33719E
tetradic
#9E3371 #9E9533 #339E60 #333B9E
square
#9E3371 #9E9533 #339E60 #333B9E
split-complementary
#9E3371 #3B9E33 #339E95
monochromatic
#41152F #702450 #9E3371 #C44A91 #D378AD

Accessibility & contrast

On white

6.63
#9E3371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E3371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3371
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3371#FFFFFF#000000##FFFFFF
##9E33711.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#60636E
Tritanopia (blue-blind)
#A92F4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e3371;
/* rgb */ color: rgb(158, 51, 113);
/* oklch */ color: oklch(49.7% 0.156 348.5);
Tailwind
colors: {
  custom: {
    50: '#be7399',
    500: '#9e3371',
    950: '#000000',
  },
}
SCSS
$custom: #9e3371;
$custom-light: #be7399;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3371",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 325.234,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.15557,
    "h": 348.5
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#9E3371
secondary
#71BC90
accent
#DB894D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E3371

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

Preview Lab → · Contrast checker → · Palette generator →

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