#9E2A4C#9E2A4C

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

Color values

HEX#9E2A4C
RGBrgb(158, 42, 76)
HSLhsl(342, 58%, 39%)
HSVhsv(342, 73%, 62%)
CMYKcmyk(0%, 73.4%, 51.9%, 38%)
CIE-LABlab(36.83, 49.68, 8.01)
CIE-LCHlch(36.83, 50.32, 9.16°)
OKLaboklab(47.51% 0.1513 0.0207)
OKLCHoklch(47.51% 0.153 7.8)
XYZxyz(16.2344, 9.4490, 7.8050)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A4C #2A9E7C
analogous
#9E2A86 #9E2A4C #9E422A
triadic
#9E2A4C #4C9E2A #2A4C9E
tetradic
#9E2A4C #869E2A #2A9E7C #422A9E
square
#9E2A4C #869E2A #2A9E7C #422A9E
split-complementary
#9E2A4C #2A9E42 #2A869E
monochromatic
#3D101D #6E1D35 #9E2A4C #CB3A65 #D86B8B

Accessibility & contrast

On white

7.27
#9E2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2A4C
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A4C#FFFFFF#000000##FFFFFF
##9E2A4C1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484D
Deuteranopia (green-blind)
#655F49
Tritanopia (blue-blind)
#AC1138
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a4c;
/* rgb */ color: rgb(158, 42, 76);
/* oklch */ color: oklch(47.5% 0.153 7.8);
Tailwind
colors: {
  custom: {
    50: '#c06d7d',
    500: '#9e2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a4c;
$custom-light: #c06d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a4c",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 342.414,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.15269,
    "h": 7.8
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#9E2A4C
secondary
#66BEA4
accent
#E1B447
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9E2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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