#9E1A6F#9E1A6F

#9E1A6F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.182 H 347.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9E1A6F
RGBrgb(158, 26, 111)
HSLhsl(321, 72%, 36%)
HSVhsv(321, 84%, 62%)
CMYKcmyk(0%, 83.5%, 29.7%, 38%)
CIE-LABlab(36.29, 58.21, -15.15)
CIE-LCHlch(36.29, 60.15, 345.41°)
OKLaboklab(47.5% 0.1777 -0.04)
OKLCHoklch(47.5% 0.182 347.3)
XYZxyz(17.3401, 9.1576, 15.8903)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A6F #1A9E49
analogous
#8B1A9E #9E1A6F #9E1A2D
triadic
#9E1A6F #6F9E1A #1A6F9E
tetradic
#9E1A6F #9E8B1A #1A9E49 #1A2D9E
square
#9E1A6F #9E8B1A #1A9E49 #1A2D9E
split-complementary
#9E1A6F #2D9E1A #1A9E8B
monochromatic
#350925 #69114A #9E1A6F #D32394 #E250AE

Accessibility & contrast

On white

7.42
#9E1A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9E1A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A6F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A6F#FFFFFF#000000##FFFFFF
##9E1A6F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#AA1244
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1a6f;
/* rgb */ color: rgb(158, 26, 111);
/* oklch */ color: oklch(47.5% 0.182 347.3);
Tailwind
colors: {
  custom: {
    50: '#bf6898',
    500: '#9e1a6f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a6f;
$custom-light: #bf6898;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a6f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 321.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.18218,
    "h": 347.3
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#9E1A6F
secondary
#4FC579
accent
#EE7A39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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