#9E2E76#9E2E76

#9E2E76 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.165 H 345.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9E2E76
RGBrgb(158, 46, 118)
HSLhsl(321, 55%, 40%)
HSVhsv(321, 71%, 62%)
CMYKcmyk(0%, 70.9%, 25.3%, 38%)
CIE-LABlab(38.78, 52.84, -15.72)
CIE-LCHlch(38.78, 55.13, 343.43°)
OKLaboklab(49.41% 0.1598 -0.0417)
OKLCHoklch(49.41% 0.165 345.4)
XYZxyz(18.3483, 10.5330, 18.2028)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E76 #2E9E56
analogous
#8E2E9E #9E2E76 #9E2E3E
triadic
#9E2E76 #769E2E #2E769E
tetradic
#9E2E76 #9E8E2E #2E9E56 #2E3E9E
square
#9E2E76 #9E8E2E #2E9E56 #2E3E9E
split-complementary
#9E2E76 #3E9E2E #2E9E8E
monochromatic
#3F122F #6F2053 #9E2E76 #C84198 #D671B2

Accessibility & contrast

On white

6.76
#9E2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E2E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E76
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E76#FFFFFF#000000##FFFFFF
##9E2E761.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#A92C4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2e76;
/* rgb */ color: rgb(158, 46, 118);
/* oklch */ color: oklch(49.4% 0.165 345.4);
Tailwind
colors: {
  custom: {
    50: '#be709d',
    500: '#9e2e76',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e76;
$custom-light: #be709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e76",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 321.429,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.16513,
    "h": 345.4
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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