#9E1A7F#9E1A7F

#9E1A7F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.192 H 340.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9E1A7F
RGBrgb(158, 26, 127)
HSLhsl(314, 72%, 36%)
HSVhsv(314, 84%, 62%)
CMYKcmyk(0%, 83.5%, 19.6%, 38%)
CIE-LABlab(37.01, 60.24, -24.07)
CIE-LCHlch(37.01, 64.88, 338.22°)
OKLaboklab(48.25% 0.1803 -0.0651)
OKLCHoklch(48.25% 0.192 340.1)
XYZxyz(18.3013, 9.5421, 20.9526)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A7F #1A9E39
analogous
#7B1A9E #9E1A7F #9E1A3D
triadic
#9E1A7F #7F9E1A #1A7F9E
tetradic
#9E1A7F #9E7B1A #1A9E39 #1A3D9E
square
#9E1A7F #9E7B1A #1A9E39 #1A3D9E
split-complementary
#9E1A7F #3D9E1A #1A9E7B
monochromatic
#35092B #691155 #9E1A7F #D323A9 #E250C0

Accessibility & contrast

On white

7.22
#9E1A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E1A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A7F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A7F#FFFFFF#000000##FFFFFF
##9E1A7F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#A8204D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1a7f;
/* rgb */ color: rgb(158, 26, 127);
/* oklch */ color: oklch(48.3% 0.192 340.1);
Tailwind
colors: {
  custom: {
    50: '#bf69a4',
    500: '#9e1a7f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a7f;
$custom-light: #bf69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a7f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 314.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.19166,
    "h": 340.1
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#9E1A7F
secondary
#4FC56B
accent
#EE6439
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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