#9E1C7F#9E1C7F

#9E1C7F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.190 H 340.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E1C7F
RGBrgb(158, 28, 127)
HSLhsl(314, 70%, 36%)
HSVhsv(314, 82%, 62%)
CMYKcmyk(0%, 82.3%, 19.6%, 38%)
CIE-LABlab(37.18, 59.75, -23.81)
CIE-LCHlch(37.18, 64.32, 338.27°)
OKLaboklab(48.38% 0.1788 -0.0644)
OKLCHoklch(48.38% 0.19 340.2)
XYZxyz(18.3471, 9.6338, 20.9678)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C7F #1C9E3B
analogous
#7C1C9E #9E1C7F #9E1C3E
triadic
#9E1C7F #7F9E1C #1C7F9E
tetradic
#9E1C7F #9E7C1C #1C9E3B #1C3E9E
square
#9E1C7F #9E7C1C #1C9E3B #1C3E9E
split-complementary
#9E1C7F #3E9E1C #1C9E7C
monochromatic
#360A2B #6A1355 #9E1C7F #D225A9 #E154BF

Accessibility & contrast

On white

7.18
#9E1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C7F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C7F#FFFFFF#000000##FFFFFF
##9E1C7F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A82
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A8214D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1c7f;
/* rgb */ color: rgb(158, 28, 127);
/* oklch */ color: oklch(48.4% 0.190 340.2);
Tailwind
colors: {
  custom: {
    50: '#bf69a4',
    500: '#9e1c7f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c7f;
$custom-light: #bf69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c7f",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 314.308,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.19001,
    "h": 340.2
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#9E1C7F
secondary
#52C46D
accent
#ED653B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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