#9E1F63#9E1F63

#9E1F63 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.172 H 353.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9E1F63
RGBrgb(158, 31, 99)
HSLhsl(328, 67%, 37%)
HSVhsv(328, 80%, 62%)
CMYKcmyk(0%, 80.4%, 37.3%, 38%)
CIE-LABlab(36.28, 55.52, -7.54)
CIE-LCHlch(36.28, 56.03, 352.27°)
OKLaboklab(47.34% 0.1706 -0.0193)
OKLCHoklch(47.34% 0.172 353.6)
XYZxyz(16.8438, 9.1520, 12.6815)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F63 #1F9E5A
analogous
#9A1F9E #9E1F63 #9E1F23
triadic
#9E1F63 #639E1F #1F639E
tetradic
#9E1F63 #9E9A1F #1F9E5A #1F239E
square
#9E1F63 #9E9A1F #1F9E5A #1F239E
split-complementary
#9E1F63 #239E1F #1F9E9A
monochromatic
#380B23 #6B1543 #9E1F63 #D12983 #DE59A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1F63#FFFFFF#000000##FFFFFF
##9E1F631.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)
#394765
Deuteranopia (green-blind)
#5D5E60
Tritanopia (blue-blind)
#AB0E3F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1f63;
/* rgb */ color: rgb(158, 31, 99);
/* oklch */ color: oklch(47.3% 0.172 353.6);
Tailwind
colors: {
  custom: {
    50: '#bf698f',
    500: '#9e1f63',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f63;
$custom-light: #bf698f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f63",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 327.874,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.17172,
    "h": 353.6
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#9E1F63
secondary
#56C289
accent
#EA8E3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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