#9E2A5B#9E2A5B

#9E2A5B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.157 H 359.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9E2A5B
RGBrgb(158, 42, 91)
HSLhsl(335, 58%, 39%)
HSVhsv(335, 73%, 62%)
CMYKcmyk(0%, 73.4%, 42.4%, 38%)
CIE-LABlab(37.27, 51.11, -0.97)
CIE-LCHlch(37.27, 51.12, 358.92°)
OKLaboklab(47.97% 0.1568 -0.0019)
OKLCHoklch(47.97% 0.157 359.3)
XYZxyz(16.8181, 9.6825, 10.8788)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A5B #2A9E6D
analogous
#9E2A95 #9E2A5B #9E332A
triadic
#9E2A5B #5B9E2A #2A5B9E
tetradic
#9E2A5B #959E2A #2A9E6D #332A9E
square
#9E2A5B #959E2A #2A9E6D #332A9E
split-complementary
#9E2A5B #2A9E33 #2A959E
monochromatic
#3D1023 #6E1D3F #9E2A5B #CB3A77 #D86B99

Accessibility & contrast

On white

7.15
#9E2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A5B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A5B#FFFFFF#000000##FFFFFF
##9E2A5B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5C
Deuteranopia (green-blind)
#626058
Tritanopia (blue-blind)
#AB1A3F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2a5b;
/* rgb */ color: rgb(158, 42, 91);
/* oklch */ color: oklch(48.0% 0.157 359.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e89',
    500: '#9e2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a5b;
$custom-light: #bf6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a5b",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 334.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.1568,
    "h": 359.3
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#9E2A5B
secondary
#66BE99
accent
#E1A047
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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