#9E2F80#9E2F80

#9E2F80 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 340.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9E2F80
RGBrgb(158, 47, 128)
HSLhsl(316, 54%, 40%)
HSVhsv(316, 70%, 62%)
CMYKcmyk(0%, 70.3%, 19%, 38%)
CIE-LABlab(39.35, 53.86, -21.06)
CIE-LCHlch(39.35, 57.83, 338.64°)
OKLaboklab(49.96% 0.1606 -0.0567)
OKLCHoklch(49.96% 0.17 340.6)
XYZxyz(19.0139, 10.8625, 21.5132)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F80 #2F9E4D
analogous
#842F9E #9E2F80 #9E2F49
triadic
#9E2F80 #809E2F #2F809E
tetradic
#9E2F80 #9E842F #2F9E4D #2F499E
square
#9E2F80 #9E842F #2F9E4D #2F499E
split-complementary
#9E2F80 #499E2F #2F9E84
monochromatic
#401334 #6F215A #9E2F80 #C743A3 #D572BA

Accessibility & contrast

On white

6.62
#9E2F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E2F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F80
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F80#FFFFFF#000000##FFFFFF
##9E2F801.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375182
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#A73253
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2f80;
/* rgb */ color: rgb(158, 47, 128);
/* oklch */ color: oklch(50.0% 0.170 340.6);
Tailwind
colors: {
  custom: {
    50: '#be71a5',
    500: '#9e2f80',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f80;
$custom-light: #be71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f80",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 316.216,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.17031,
    "h": 340.6
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#9E2F80
secondary
#6CBD82
accent
#DE724A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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