#9E1678#9E1678

#9E1678 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.190 H 343.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9E1678
RGBrgb(158, 22, 120)
HSLhsl(317, 76%, 35%)
HSVhsv(317, 86%, 62%)
CMYKcmyk(0%, 86.1%, 24.1%, 38%)
CIE-LABlab(36.37, 60.22, -20.69)
CIE-LCHlch(36.37, 63.68, 341.04°)
OKLaboklab(47.69% 0.1821 -0.0555)
OKLCHoklch(47.69% 0.19 343.1)
XYZxyz(17.7784, 9.2010, 18.6054)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1678 #169E3C
analogous
#80169E #9E1678 #9E1634
triadic
#9E1678 #789E16 #16789E
tetradic
#9E1678 #9E8016 #169E3C #16349E
square
#9E1678 #9E8016 #169E3C #16349E
split-complementary
#9E1678 #349E16 #169E80
monochromatic
#330726 #680F4F #9E1678 #D41DA1 #E649BA

Accessibility & contrast

On white

7.39
#9E1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1678
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1678#FFFFFF#000000##FFFFFF
##9E16781.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A91748
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1678;
/* rgb */ color: rgb(158, 22, 120);
/* oklch */ color: oklch(47.7% 0.190 343.1);
Tailwind
colors: {
  custom: {
    50: '#bf679f',
    500: '#9e1678',
    950: '#000000',
  },
}
SCSS
$custom: #9e1678;
$custom-light: #bf679f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1678",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 316.765,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.1904,
    "h": 343.1
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#9E1678
secondary
#49C76C
accent
#F26A36
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1678

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

Preview Lab → · Contrast checker → · Palette generator →

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