#9E1F62#9E1F62

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

Color values

HEX#9E1F62
RGBrgb(158, 31, 98)
HSLhsl(328, 67%, 37%)
HSVhsv(328, 80%, 62%)
CMYKcmyk(0%, 80.4%, 38%, 38%)
CIE-LABlab(36.24, 55.41, -6.96)
CIE-LCHlch(36.24, 55.85, 352.84°)
OKLaboklab(47.3% 0.1704 -0.0177)
OKLCHoklch(47.3% 0.171 354.1)
XYZxyz(16.7963, 9.1330, 12.4313)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F62 #1F9E5B
analogous
#9A1F9E #9E1F62 #9E1F23
triadic
#9E1F62 #629E1F #1F629E
tetradic
#9E1F62 #9E9A1F #1F9E5B #1F239E
square
#9E1F62 #9E9A1F #1F9E5B #1F239E
split-complementary
#9E1F62 #239E1F #1F9E9A
monochromatic
#380B23 #6B1542 #9E1F62 #D12982 #DE599F

Accessibility & contrast

On white

7.43
#9E1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F62
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F62#FFFFFF#000000##FFFFFF
##9E1F621.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5D5E5F
Tritanopia (blue-blind)
#AB0D3E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1f62;
/* rgb */ color: rgb(158, 31, 98);
/* oklch */ color: oklch(47.3% 0.171 354.1);
Tailwind
colors: {
  custom: {
    50: '#c0698e',
    500: '#9e1f62',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f62;
$custom-light: #c0698e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f62",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 328.346,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.17128,
    "h": 354.1
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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