#9E2A5E#9E2A5E

#9E2A5E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.158 H 357.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9E2A5E
RGBrgb(158, 42, 94)
HSLhsl(333, 58%, 39%)
HSVhsv(333, 73%, 62%)
CMYKcmyk(0%, 73.4%, 40.5%, 38%)
CIE-LABlab(37.36, 51.42, -2.74)
CIE-LCHlch(37.36, 51.50, 356.95°)
OKLaboklab(48.08% 0.1578 -0.0065)
OKLCHoklch(48.08% 0.158 357.6)
XYZxyz(16.9501, 9.7353, 11.5740)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A5E #2A9E6A
analogous
#9E2A98 #9E2A5E #9E302A
triadic
#9E2A5E #5E9E2A #2A5E9E
tetradic
#9E2A5E #989E2A #2A9E6A #302A9E
square
#9E2A5E #989E2A #2A9E6A #302A9E
split-complementary
#9E2A5E #2A9E30 #2A989E
monochromatic
#3D1024 #6E1D41 #9E2A5E #CB3A7B #D86B9C

Accessibility & contrast

On white

7.13
#9E2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A5E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A5E#FFFFFF#000000##FFFFFF
##9E2A5E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#61605B
Tritanopia (blue-blind)
#AB1B40
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2a5e;
/* rgb */ color: rgb(158, 42, 94);
/* oklch */ color: oklch(48.1% 0.158 357.6);
Tailwind
colors: {
  custom: {
    50: '#bf6e8b',
    500: '#9e2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a5e;
$custom-light: #bf6e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a5e",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 333.103,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.15793,
    "h": 357.6
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#9E2A5E
secondary
#66BE96
accent
#E19C47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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