#9E2F71#9E2F71

#9E2F71 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.161 H 348.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E2F71
RGBrgb(158, 47, 113)
HSLhsl(324, 54%, 40%)
HSVhsv(324, 70%, 62%)
CMYKcmyk(0%, 70.3%, 28.5%, 38%)
CIE-LABlab(38.72, 51.80, -12.70)
CIE-LCHlch(38.72, 53.33, 346.23°)
OKLaboklab(49.3% 0.1574 -0.0334)
OKLCHoklch(49.3% 0.161 348)
XYZxyz(18.0985, 10.4963, 16.6924)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F71 #2F9E5C
analogous
#932F9E #9E2F71 #9E2F3A
triadic
#9E2F71 #719E2F #2F719E
tetradic
#9E2F71 #9E932F #2F9E5C #2F3A9E
square
#9E2F71 #9E932F #2F9E5C #2F3A9E
split-complementary
#9E2F71 #3A9E2F #2F9E93
monochromatic
#40132E #6F214F #9E2F71 #C74392 #D572AD

Accessibility & contrast

On white

6.78
#9E2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F71
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F71#FFFFFF#000000##FFFFFF
##9E2F711.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#A92B4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f71;
/* rgb */ color: rgb(158, 47, 113);
/* oklch */ color: oklch(49.3% 0.161 348.0);
Tailwind
colors: {
  custom: {
    50: '#be7199',
    500: '#9e2f71',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f71;
$custom-light: #be7199;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f71",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 324.324,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49295,
    "c": 0.1609,
    "h": 348
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#9E2F71
secondary
#6CBD8D
accent
#DE864A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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