#9E1F65#9E1F65

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

Color values

HEX#9E1F65
RGBrgb(158, 31, 101)
HSLhsl(327, 67%, 37%)
HSVhsv(327, 80%, 62%)
CMYKcmyk(0%, 80.4%, 36.1%, 38%)
CIE-LABlab(36.35, 55.74, -8.71)
CIE-LCHlch(36.35, 56.42, 351.12°)
OKLaboklab(47.41% 0.1712 -0.0224)
OKLCHoklch(47.41% 0.173 352.5)
XYZxyz(16.9406, 9.1908, 13.1913)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F65 #1F9E58
analogous
#981F9E #9E1F65 #9E1F26
triadic
#9E1F65 #659E1F #1F659E
tetradic
#9E1F65 #9E981F #1F9E58 #1F269E
square
#9E1F65 #9E981F #1F9E58 #1F269E
split-complementary
#9E1F65 #269E1F #1F9E98
monochromatic
#380B24 #6B1544 #9E1F65 #D12986 #DE59A3

Accessibility & contrast

On white

7.40
#9E1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F65
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F65#FFFFFF#000000##FFFFFF
##9E1F651.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#5C5E62
Tritanopia (blue-blind)
#AB1040
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1f65;
/* rgb */ color: rgb(158, 31, 101);
/* oklch */ color: oklch(47.4% 0.173 352.5);
Tailwind
colors: {
  custom: {
    50: '#bf6990',
    500: '#9e1f65',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f65;
$custom-light: #bf6990;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f65",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 326.929,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.17265,
    "h": 352.5
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#9E1F65
secondary
#56C287
accent
#EA8B3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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