#9E1F75#9E1F75

#9E1F75 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.181 H 344.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9E1F75
RGBrgb(158, 31, 117)
HSLhsl(319, 67%, 37%)
HSVhsv(319, 80%, 62%)
CMYKcmyk(0%, 80.4%, 25.9%, 38%)
CIE-LABlab(37.00, 57.65, -17.84)
CIE-LCHlch(37.00, 60.35, 342.80°)
OKLaboklab(48.09% 0.1748 -0.0475)
OKLCHoklch(48.09% 0.181 344.8)
XYZxyz(17.8022, 9.5354, 17.7292)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F75 #1F9E48
analogous
#881F9E #9E1F75 #9E1F36
triadic
#9E1F75 #759E1F #1F759E
tetradic
#9E1F75 #9E881F #1F9E48 #1F369E
square
#9E1F75 #9E881F #1F9E48 #1F369E
split-complementary
#9E1F75 #369E1F #1F9E88
monochromatic
#380B29 #6B154F #9E1F75 #D1299B #DE59B3

Accessibility & contrast

On white

7.22
#9E1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E1F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F75
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F75#FFFFFF#000000##FFFFFF
##9E1F751.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A77
Deuteranopia (green-blind)
#585F72
Tritanopia (blue-blind)
#A91D48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1f75;
/* rgb */ color: rgb(158, 31, 117);
/* oklch */ color: oklch(48.1% 0.181 344.8);
Tailwind
colors: {
  custom: {
    50: '#bf6a9d',
    500: '#9e1f75',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f75;
$custom-light: #bf6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f75",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 319.37,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.18119,
    "h": 344.8
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#9E1F75
secondary
#56C279
accent
#EA753E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1F75

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

Preview Lab → · Contrast checker → · Palette generator →

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