#9E1F6E#9E1F6E

#9E1F6E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.177 H 348.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E1F6E
RGBrgb(158, 31, 110)
HSLhsl(323, 67%, 37%)
HSVhsv(323, 80%, 62%)
CMYKcmyk(0%, 80.4%, 30.4%, 38%)
CIE-LABlab(36.70, 56.78, -13.88)
CIE-LCHlch(36.70, 58.45, 346.26°)
OKLaboklab(47.78% 0.1734 -0.0365)
OKLCHoklch(47.78% 0.177 348.1)
XYZxyz(17.4059, 9.3769, 15.6421)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F6E #1F9E4F
analogous
#8F1F9E #9E1F6E #9E1F2F
triadic
#9E1F6E #6E9E1F #1F6E9E
tetradic
#9E1F6E #9E8F1F #1F9E4F #1F2F9E
square
#9E1F6E #9E8F1F #1F9E4F #1F2F9E
split-complementary
#9E1F6E #2F9E1F #1F9E8F
monochromatic
#380B27 #6B154A #9E1F6E #D12992 #DE59AC

Accessibility & contrast

On white

7.30
#9E1F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F6E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F6E#FFFFFF#000000##FFFFFF
##9E1F6E1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#AA1844
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1f6e;
/* rgb */ color: rgb(158, 31, 110);
/* oklch */ color: oklch(47.8% 0.177 348.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a97',
    500: '#9e1f6e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f6e;
$custom-light: #bf6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f6e",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 322.677,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.17723,
    "h": 348.1
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#9E1F6E
secondary
#56C27F
accent
#EA7F3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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