#9E1F6C#9E1F6C

#9E1F6C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.176 H 349.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9E1F6C
RGBrgb(158, 31, 108)
HSLhsl(324, 67%, 37%)
HSVhsv(324, 80%, 62%)
CMYKcmyk(0%, 80.4%, 31.6%, 38%)
CIE-LABlab(36.62, 56.54, -12.74)
CIE-LCHlch(36.62, 57.96, 347.30°)
OKLaboklab(47.7% 0.173 -0.0334)
OKLCHoklch(47.7% 0.176 349.1)
XYZxyz(17.2983, 9.3338, 15.0751)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F6C #1F9E51
analogous
#911F9E #9E1F6C #9E1F2D
triadic
#9E1F6C #6C9E1F #1F6C9E
tetradic
#9E1F6C #9E911F #1F9E51 #1F2D9E
square
#9E1F6C #9E911F #1F9E51 #1F2D9E
split-complementary
#9E1F6C #2D9E1F #1F9E91
monochromatic
#380B26 #6B1549 #9E1F6C #D1298F #DE59AA

Accessibility & contrast

On white

7.33
#9E1F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E1F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F6C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F6C#FFFFFF#000000##FFFFFF
##9E1F6C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#AA1643
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1f6c;
/* rgb */ color: rgb(158, 31, 108);
/* oklch */ color: oklch(47.7% 0.176 349.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a96',
    500: '#9e1f6c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f6c;
$custom-light: #bf6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f6c",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 323.622,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.17616,
    "h": 349.1
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#9E1F6C
secondary
#56C281
accent
#EA823E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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