#9E2A4A#9E2A4A

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

Color values

HEX#9E2A4A
RGBrgb(158, 42, 74)
HSLhsl(343, 58%, 39%)
HSVhsv(343, 73%, 62%)
CMYKcmyk(0%, 73.4%, 53.2%, 38%)
CIE-LABlab(36.78, 49.51, 9.23)
CIE-LCHlch(36.78, 50.36, 10.55°)
OKLaboklab(47.46% 0.1505 0.0236)
OKLCHoklch(47.46% 0.152 8.9)
XYZxyz(16.1660, 9.4217, 7.4445)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A4A #2A9E7E
analogous
#9E2A84 #9E2A4A #9E442A
triadic
#9E2A4A #4A9E2A #2A4A9E
tetradic
#9E2A4A #849E2A #2A9E7E #442A9E
square
#9E2A4A #849E2A #2A9E7E #442A9E
split-complementary
#9E2A4A #2A9E44 #2A849E
monochromatic
#3D101D #6E1D33 #9E2A4A #CB3A62 #D86B89

Accessibility & contrast

On white

7.28
#9E2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E2A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A4A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A4A#FFFFFF#000000##FFFFFF
##9E2A4A1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#AD0F37
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a4a;
/* rgb */ color: rgb(158, 42, 74);
/* oklch */ color: oklch(47.5% 0.152 8.9);
Tailwind
colors: {
  custom: {
    50: '#c06d7c',
    500: '#9e2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a4a;
$custom-light: #c06d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a4a",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 343.448,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.15234,
    "h": 8.9
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#9E2A4A
secondary
#66BEA6
accent
#E1B747
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9E2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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