#9E1F74#9E1F74

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

Color values

HEX#9E1F74
RGBrgb(158, 31, 116)
HSLhsl(320, 67%, 37%)
HSVhsv(320, 80%, 62%)
CMYKcmyk(0%, 80.4%, 26.6%, 38%)
CIE-LABlab(36.95, 57.52, -17.28)
CIE-LCHlch(36.95, 60.06, 343.28°)
OKLaboklab(48.05% 0.1747 -0.046)
OKLCHoklch(48.05% 0.181 345.3)
XYZxyz(17.7437, 9.5120, 17.4212)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F74 #1F9E49
analogous
#891F9E #9E1F74 #9E1F34
triadic
#9E1F74 #749E1F #1F749E
tetradic
#9E1F74 #9E891F #1F9E49 #1F349E
square
#9E1F74 #9E891F #1F9E49 #1F349E
split-complementary
#9E1F74 #349E1F #1F9E89
monochromatic
#380B29 #6B154E #9E1F74 #D1299A #DE59B2

Accessibility & contrast

On white

7.24
#9E1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F74
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F74#FFFFFF#000000##FFFFFF
##9E1F741.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#585F71
Tritanopia (blue-blind)
#A91C48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1f74;
/* rgb */ color: rgb(158, 31, 116);
/* oklch */ color: oklch(48.0% 0.181 345.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a9c',
    500: '#9e1f74',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f74;
$custom-light: #bf6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f74",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 319.843,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.1806,
    "h": 345.3
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#9E1F74
secondary
#56C27A
accent
#EA773E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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