#9E1F6A#9E1F6A

#9E1F6A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.175 H 350.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9E1F6A
RGBrgb(158, 31, 106)
HSLhsl(325, 67%, 37%)
HSVhsv(325, 80%, 62%)
CMYKcmyk(0%, 80.4%, 32.9%, 38%)
CIE-LABlab(36.54, 56.31, -11.60)
CIE-LCHlch(36.54, 57.49, 348.36°)
OKLaboklab(47.62% 0.1725 -0.0303)
OKLCHoklch(47.62% 0.175 350)
XYZxyz(17.1931, 9.2917, 14.5210)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F6A #1F9E53
analogous
#931F9E #9E1F6A #9E1F2A
triadic
#9E1F6A #6A9E1F #1F6A9E
tetradic
#9E1F6A #9E931F #1F9E53 #1F2A9E
square
#9E1F6A #9E931F #1F9E53 #1F2A9E
split-complementary
#9E1F6A #2A9E1F #1F9E93
monochromatic
#380B25 #6B1548 #9E1F6A #D1298C #DE59A8

Accessibility & contrast

On white

7.35
#9E1F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E1F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F6A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F6A#FFFFFF#000000##FFFFFF
##9E1F6A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#5B5E67
Tritanopia (blue-blind)
#AA1442
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1f6a;
/* rgb */ color: rgb(158, 31, 106);
/* oklch */ color: oklch(47.6% 0.175 350.0);
Tailwind
colors: {
  custom: {
    50: '#bf6a94',
    500: '#9e1f6a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f6a;
$custom-light: #bf6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f6a",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 324.567,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.17511,
    "h": 350
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#9E1F6A
secondary
#56C283
accent
#EA843E
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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