#9E2A7A#9E2A7A

#9E2A7A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.173 H 343.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9E2A7A
RGBrgb(158, 42, 122)
HSLhsl(319, 58%, 39%)
HSVhsv(319, 73%, 62%)
CMYKcmyk(0%, 73.4%, 22.8%, 38%)
CIE-LABlab(38.43, 54.84, -18.75)
CIE-LCHlch(38.43, 57.96, 341.12°)
OKLaboklab(49.21% 0.1651 -0.0502)
OKLCHoklch(49.21% 0.173 343.1)
XYZxyz(18.4420, 10.3321, 19.4316)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A7A #2A9E4E
analogous
#882A9E #9E2A7A #9E2A40
triadic
#9E2A7A #7A9E2A #2A7A9E
tetradic
#9E2A7A #9E882A #2A9E4E #2A409E
square
#9E2A7A #9E882A #2A9E4E #2A409E
split-complementary
#9E2A7A #409E2A #2A9E88
monochromatic
#3D102F #6E1D55 #9E2A7A #CB3A9E #D86BB6

Accessibility & contrast

On white

6.85
#9E2A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E2A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A7A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A7A#FFFFFF#000000##FFFFFF
##9E2A7A1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7C
Deuteranopia (green-blind)
#5A6177
Tritanopia (blue-blind)
#A82A4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2a7a;
/* rgb */ color: rgb(158, 42, 122);
/* oklch */ color: oklch(49.2% 0.173 343.1);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9e2a7a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a7a;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a7a",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 318.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.17254,
    "h": 343.1
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#9E2A7A
secondary
#66BE81
accent
#E17747
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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