#9E2A80#9E2A80

#9E2A80 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 340.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E2A80
RGBrgb(158, 42, 128)
HSLhsl(316, 58%, 39%)
HSVhsv(316, 73%, 62%)
CMYKcmyk(0%, 73.4%, 19%, 38%)
CIE-LABlab(38.70, 55.68, -22.06)
CIE-LCHlch(38.70, 59.89, 338.38°)
OKLaboklab(49.49% 0.1661 -0.0595)
OKLCHoklch(49.49% 0.176 340.3)
XYZxyz(18.8253, 10.4854, 21.4503)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A80 #2A9E48
analogous
#822A9E #9E2A80 #9E2A46
triadic
#9E2A80 #809E2A #2A809E
tetradic
#9E2A80 #9E822A #2A9E48 #2A469E
square
#9E2A80 #9E822A #2A9E48 #2A469E
split-complementary
#9E2A80 #469E2A #2A9E82
monochromatic
#3D1032 #6E1D59 #9E2A80 #CB3AA5 #D86BBB

Accessibility & contrast

On white

6.78
#9E2A80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2A80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A80
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A80#FFFFFF#000000##FFFFFF
##9E2A801.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#57627D
Tritanopia (blue-blind)
#A72D51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2a80;
/* rgb */ color: rgb(158, 42, 128);
/* oklch */ color: oklch(49.5% 0.176 340.3);
Tailwind
colors: {
  custom: {
    50: '#be6fa5',
    500: '#9e2a80',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a80;
$custom-light: #be6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a80",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 315.517,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.17645,
    "h": 340.3
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#9E2A80
secondary
#66BE7D
accent
#E16F47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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