#9E2F76#9E2F76

#9E2F76 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.164 H 345.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9E2F76
RGBrgb(158, 47, 118)
HSLhsl(322, 54%, 40%)
HSVhsv(322, 70%, 62%)
CMYKcmyk(0%, 70.3%, 25.3%, 38%)
CIE-LABlab(38.92, 52.46, -15.52)
CIE-LCHlch(38.92, 54.71, 343.52°)
OKLaboklab(49.51% 0.1586 -0.0412)
OKLCHoklch(49.51% 0.164 345.4)
XYZxyz(18.3878, 10.6120, 18.2160)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F76 #2F9E57
analogous
#8F2F9E #9E2F76 #9E2F3E
triadic
#9E2F76 #769E2F #2F769E
tetradic
#9E2F76 #9E8F2F #2F9E57 #2F3E9E
square
#9E2F76 #9E8F2F #2F9E57 #2F3E9E
split-complementary
#9E2F76 #3E9E2F #2F9E8F
monochromatic
#401330 #6F2153 #9E2F76 #C74398 #D572B2

Accessibility & contrast

On white

6.73
#9E2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F76
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F76#FFFFFF#000000##FFFFFF
##9E2F761.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5078
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#A92D4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2f76;
/* rgb */ color: rgb(158, 47, 118);
/* oklch */ color: oklch(49.5% 0.164 345.4);
Tailwind
colors: {
  custom: {
    50: '#be719d',
    500: '#9e2f76',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f76;
$custom-light: #be719d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f76",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 321.622,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.16386,
    "h": 345.4
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#9E2F76
secondary
#6CBD89
accent
#DE7F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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