#9E2979#9E2979

#9E2979 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.173 H 343.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E2979
RGBrgb(158, 41, 121)
HSLhsl(319, 59%, 39%)
HSVhsv(319, 74%, 62%)
CMYKcmyk(0%, 74.1%, 23.4%, 38%)
CIE-LABlab(38.27, 55.06, -18.39)
CIE-LCHlch(38.27, 58.04, 341.53°)
OKLaboklab(49.07% 0.166 -0.0491)
OKLCHoklch(49.07% 0.173 343.5)
XYZxyz(18.3454, 10.2374, 19.0953)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2979 #299E4E
analogous
#89299E #9E2979 #9E293F
triadic
#9E2979 #799E29 #29799E
tetradic
#9E2979 #9E8929 #299E4E #293F9E
square
#9E2979 #9E8929 #299E4E #293F9E
split-complementary
#9E2979 #3F9E29 #299E89
monochromatic
#3D102F #6D1C54 #9E2979 #CC399D #D869B5

Accessibility & contrast

On white

6.89
#9E2979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E2979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2979
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2979#FFFFFF#000000##FFFFFF
##9E29791.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A8294D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2979;
/* rgb */ color: rgb(158, 41, 121);
/* oklch */ color: oklch(49.1% 0.173 343.5);
Tailwind
colors: {
  custom: {
    50: '#be6ea0',
    500: '#9e2979',
    950: '#000000',
  },
}
SCSS
$custom: #9e2979;
$custom-light: #be6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2979",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 318.974,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.17309,
    "h": 343.5
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#9E2979
secondary
#64BF81
accent
#E27746
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2979

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

Preview Lab → · Contrast checker → · Palette generator →

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