#9E2A4D#9E2A4D

#9E2A4D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.153 H 7.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9E2A4D
RGBrgb(158, 42, 77)
HSLhsl(342, 58%, 39%)
HSVhsv(342, 73%, 62%)
CMYKcmyk(0%, 73.4%, 51.3%, 38%)
CIE-LABlab(36.86, 49.77, 7.41)
CIE-LCHlch(36.86, 50.32, 8.47°)
OKLaboklab(47.54% 0.1517 0.0192)
OKLCHoklch(47.54% 0.153 7.2)
XYZxyz(16.2695, 9.4630, 7.9896)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A4D #2A9E7B
analogous
#9E2A87 #9E2A4D #9E412A
triadic
#9E2A4D #4D9E2A #2A4D9E
tetradic
#9E2A4D #879E2A #2A9E7B #412A9E
square
#9E2A4D #879E2A #2A9E7B #412A9E
split-complementary
#9E2A4D #2A9E41 #2A879E
monochromatic
#3D101E #6E1D35 #9E2A4D #CB3A66 #D86B8C

Accessibility & contrast

On white

7.26
#9E2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E2A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A4D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A4D#FFFFFF#000000##FFFFFF
##9E2A4D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484E
Deuteranopia (green-blind)
#645F4A
Tritanopia (blue-blind)
#AC1138
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a4d;
/* rgb */ color: rgb(158, 42, 77);
/* oklch */ color: oklch(47.5% 0.153 7.2);
Tailwind
colors: {
  custom: {
    50: '#c06d7e',
    500: '#9e2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a4d;
$custom-light: #c06d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a4d",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 341.897,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.15288,
    "h": 7.2
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#9E2A4D
secondary
#66BEA3
accent
#E1B347
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9E2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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