#9E2B71#9E2B71

#9E2B71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 347.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2B71
RGBrgb(158, 43, 113)
HSLhsl(323, 57%, 39%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 72.8%, 28.5%, 38%)
CIE-LABlab(38.18, 53.30, -13.51)
CIE-LCHlch(38.18, 54.98, 345.77°)
OKLaboklab(48.9% 0.1621 -0.0356)
OKLCHoklch(48.9% 0.166 347.6)
XYZxyz(17.9459, 10.1911, 16.6416)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B71 #2B9E58
analogous
#922B9E #9E2B71 #9E2B38
triadic
#9E2B71 #719E2B #2B719E
tetradic
#9E2B71 #9E922B #2B9E58 #2B389E
square
#9E2B71 #9E922B #2B9E58 #2B389E
split-complementary
#9E2B71 #389E2B #2B9E92
monochromatic
#3E112C #6E1E4F #9E2B71 #CA3C93 #D76CAD

Accessibility & contrast

On white

6.91
#9E2B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E2B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B71
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B71#FFFFFF#000000##FFFFFF
##9E2B711.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#A9274A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2b71;
/* rgb */ color: rgb(158, 43, 113);
/* oklch */ color: oklch(48.9% 0.166 347.6);
Tailwind
colors: {
  custom: {
    50: '#bf6f9a',
    500: '#9e2b71',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b71;
$custom-light: #bf6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b71",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 323.478,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48903,
    "c": 0.16593,
    "h": 347.6
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#9E2B71
secondary
#67BE89
accent
#E08347
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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