#9E2A6A#9E2A6A

#9E2A6A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 351.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E2A6A
RGBrgb(158, 42, 106)
HSLhsl(327, 58%, 39%)
HSVhsv(327, 73%, 62%)
CMYKcmyk(0%, 73.4%, 32.9%, 38%)
CIE-LABlab(37.78, 52.79, -9.71)
CIE-LCHlch(37.78, 53.67, 349.57°)
OKLaboklab(48.52% 0.1614 -0.0252)
OKLCHoklch(48.52% 0.163 351.1)
XYZxyz(17.5310, 9.9677, 14.6336)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A6A #2A9E5E
analogous
#982A9E #9E2A6A #9E2A30
triadic
#9E2A6A #6A9E2A #2A6A9E
tetradic
#9E2A6A #9E982A #2A9E5E #2A309E
square
#9E2A6A #9E982A #2A9E5E #2A309E
split-complementary
#9E2A6A #309E2A #2A9E98
monochromatic
#3D1029 #6E1D4A #9E2A6A #CB3A8A #D86BA7

Accessibility & contrast

On white

7.02
#9E2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A6A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A6A#FFFFFF#000000##FFFFFF
##9E2A6A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6C
Deuteranopia (green-blind)
#5E6067
Tritanopia (blue-blind)
#AA2246
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2a6a;
/* rgb */ color: rgb(158, 42, 106);
/* oklch */ color: oklch(48.5% 0.163 351.1);
Tailwind
colors: {
  custom: {
    50: '#bf6e94',
    500: '#9e2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a6a;
$custom-light: #bf6e94;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a6a",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 326.897,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.16336,
    "h": 351.1
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#9E2A6A
secondary
#66BE8D
accent
#E18C47
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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