#9E1A7C#9E1A7C

#9E1A7C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 341.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9E1A7C
RGBrgb(158, 26, 124)
HSLhsl(315, 72%, 36%)
HSVhsv(315, 84%, 62%)
CMYKcmyk(0%, 83.5%, 21.5%, 38%)
CIE-LABlab(36.86, 59.84, -22.43)
CIE-LCHlch(36.86, 63.91, 339.46°)
OKLaboklab(48.1% 0.1799 -0.0604)
OKLCHoklch(48.1% 0.19 341.4)
XYZxyz(18.1087, 9.4651, 19.9382)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A7C #1A9E3C
analogous
#7E1A9E #9E1A7C #9E1A3A
triadic
#9E1A7C #7C9E1A #1A7C9E
tetradic
#9E1A7C #9E7E1A #1A9E3C #1A3A9E
square
#9E1A7C #9E7E1A #1A9E3C #1A3A9E
split-complementary
#9E1A7C #3A9E1A #1A9E7E
monochromatic
#35092A #691153 #9E1A7C #D323A5 #E250BD

Accessibility & contrast

On white

7.26
#9E1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E1A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A7C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A7C#FFFFFF#000000##FFFFFF
##9E1A7C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A81D4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1a7c;
/* rgb */ color: rgb(158, 26, 124);
/* oklch */ color: oklch(48.1% 0.190 341.4);
Tailwind
colors: {
  custom: {
    50: '#bf69a2',
    500: '#9e1a7c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a7c;
$custom-light: #bf69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a7c",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 315.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48104,
    "c": 0.18978,
    "h": 341.4
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#9E1A7C
secondary
#4FC56D
accent
#EE6839
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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