#9E2F79#9E2F79

#9E2F79 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 343.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9E2F79
RGBrgb(158, 47, 121)
HSLhsl(320, 54%, 40%)
HSVhsv(320, 70%, 62%)
CMYKcmyk(0%, 70.3%, 23.4%, 38%)
CIE-LABlab(39.04, 52.87, -17.19)
CIE-LCHlch(39.04, 55.59, 341.99°)
OKLaboklab(49.64% 0.1593 -0.0458)
OKLCHoklch(49.64% 0.166 343.9)
XYZxyz(18.5689, 10.6845, 19.1698)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F79 #2F9E54
analogous
#8B2F9E #9E2F79 #9E2F42
triadic
#9E2F79 #799E2F #2F799E
tetradic
#9E2F79 #9E8B2F #2F9E54 #2F429E
square
#9E2F79 #9E8B2F #2F9E54 #2F429E
split-complementary
#9E2F79 #429E2F #2F9E8B
monochromatic
#401331 #6F2155 #9E2F79 #C7439B #D572B4

Accessibility & contrast

On white

6.70
#9E2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9E2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F79
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F79#FFFFFF#000000##FFFFFF
##9E2F791.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#A82F50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2f79;
/* rgb */ color: rgb(158, 47, 121);
/* oklch */ color: oklch(49.6% 0.166 343.9);
Tailwind
colors: {
  custom: {
    50: '#be719f',
    500: '#9e2f79',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f79;
$custom-light: #be719f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f79",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 320,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.16572,
    "h": 343.9
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#9E2F79
secondary
#6CBD87
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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