#9E1F66#9E1F66

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

Color values

HEX#9E1F66
RGBrgb(158, 31, 102)
HSLhsl(326, 67%, 37%)
HSVhsv(326, 80%, 62%)
CMYKcmyk(0%, 80.4%, 35.4%, 38%)
CIE-LABlab(36.39, 55.85, -9.29)
CIE-LCHlch(36.39, 56.62, 350.56°)
OKLaboklab(47.45% 0.1715 -0.024)
OKLCHoklch(47.45% 0.173 352)
XYZxyz(16.9899, 9.2105, 13.4509)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F66 #1F9E57
analogous
#971F9E #9E1F66 #9E1F26
triadic
#9E1F66 #669E1F #1F669E
tetradic
#9E1F66 #9E971F #1F9E57 #1F269E
square
#9E1F66 #9E971F #1F9E57 #1F269E
split-complementary
#9E1F66 #269E1F #1F9E97
monochromatic
#380B24 #6B1545 #9E1F66 #D12987 #DE59A4

Accessibility & contrast

On white

7.39
#9E1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E1F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F66
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F66#FFFFFF#000000##FFFFFF
##9E1F661.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#5C5E63
Tritanopia (blue-blind)
#AA1140
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1f66;
/* rgb */ color: rgb(158, 31, 102);
/* oklch */ color: oklch(47.5% 0.173 352.0);
Tailwind
colors: {
  custom: {
    50: '#bf6a91',
    500: '#9e1f66',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f66;
$custom-light: #bf6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f66",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 326.457,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.17313,
    "h": 352
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#9E1F66
secondary
#56C286
accent
#EA8A3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1F66

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

Preview Lab → · Contrast checker → · Palette generator →

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