#9E2A51#9E2A51

#9E2A51 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.154 H 5.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E2A51
RGBrgb(158, 42, 81)
HSLhsl(340, 58%, 39%)
HSVhsv(340, 73%, 62%)
CMYKcmyk(0%, 73.4%, 48.7%, 38%)
CIE-LABlab(36.97, 50.13, 5.00)
CIE-LCHlch(36.97, 50.38, 5.69°)
OKLaboklab(47.66% 0.1532 0.0133)
OKLCHoklch(47.66% 0.154 5)
XYZxyz(16.4151, 9.5213, 8.7564)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A51 #2A9E77
analogous
#9E2A8B #9E2A51 #9E3D2A
triadic
#9E2A51 #519E2A #2A519E
tetradic
#9E2A51 #8B9E2A #2A9E77 #3D2A9E
square
#9E2A51 #8B9E2A #2A9E77 #3D2A9E
split-complementary
#9E2A51 #2A9E3D #2A8B9E
monochromatic
#3D101F #6E1D38 #9E2A51 #CB3A6B #D86B8F

Accessibility & contrast

On white

7.23
#9E2A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E2A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A51
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A51#FFFFFF#000000##FFFFFF
##9E2A511.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#645F4E
Tritanopia (blue-blind)
#AC143A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a51;
/* rgb */ color: rgb(158, 42, 81);
/* oklch */ color: oklch(47.7% 0.154 5.0);
Tailwind
colors: {
  custom: {
    50: '#c06d81',
    500: '#9e2a51',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a51;
$custom-light: #c06d81;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a51",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 339.828,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.15377,
    "h": 5
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#9E2A51
secondary
#66BEA0
accent
#E1AD47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2A51

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

Preview Lab → · Contrast checker → · Palette generator →

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