#9E1F5E#9E1F5E

#9E1F5E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.170 H 356.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9E1F5E
RGBrgb(158, 31, 94)
HSLhsl(330, 67%, 37%)
HSVhsv(330, 80%, 62%)
CMYKcmyk(0%, 80.4%, 40.5%, 38%)
CIE-LABlab(36.10, 54.99, -4.61)
CIE-LCHlch(36.10, 55.18, 355.21°)
OKLaboklab(47.15% 0.1692 -0.0114)
OKLCHoklch(47.15% 0.17 356.1)
XYZxyz(16.6121, 9.0594, 11.4614)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F5E #1F9E5F
analogous
#9E1F9E #9E1F5E #9E1F1F
triadic
#9E1F5E #5E9E1F #1F5E9E
tetradic
#9E1F5E #9E9E1F #1F9E5F #1F1F9E
square
#9E1F5E #9E9E1F #1F9E5F #1F1F9E
split-complementary
#9E1F5E #1F9E1F #1F9E9E
monochromatic
#380B21 #6B1540 #9E1F5E #D1297C #DE599B

Accessibility & contrast

On white

7.47
#9E1F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E1F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F5E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F5E#FFFFFF#000000##FFFFFF
##9E1F5E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#AB083C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1f5e;
/* rgb */ color: rgb(158, 31, 94);
/* oklch */ color: oklch(47.1% 0.170 356.1);
Tailwind
colors: {
  custom: {
    50: '#c0698b',
    500: '#9e1f5e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f5e;
$custom-light: #c0698b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f5e",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 330.236,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.16956,
    "h": 356.1
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#9E1F5E
secondary
#56C28D
accent
#EA953E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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