#9E2A4E#9E2A4E

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

Color values

HEX#9E2A4E
RGBrgb(158, 42, 78)
HSLhsl(341, 58%, 39%)
HSVhsv(341, 73%, 62%)
CMYKcmyk(0%, 73.4%, 50.6%, 38%)
CIE-LABlab(36.89, 49.86, 6.80)
CIE-LCHlch(36.89, 50.32, 7.77°)
OKLaboklab(47.57% 0.1521 0.0177)
OKLCHoklch(47.57% 0.153 6.7)
XYZxyz(16.3051, 9.4773, 8.1770)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A4E #2A9E7A
analogous
#9E2A88 #9E2A4E #9E402A
triadic
#9E2A4E #4E9E2A #2A4E9E
tetradic
#9E2A4E #889E2A #2A9E7A #402A9E
square
#9E2A4E #889E2A #2A9E7A #402A9E
split-complementary
#9E2A4E #2A9E40 #2A889E
monochromatic
#3D101E #6E1D36 #9E2A4E #CB3A67 #D86B8D

Accessibility & contrast

On white

7.25
#9E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2A4E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A4E#FFFFFF#000000##FFFFFF
##9E2A4E1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#645F4B
Tritanopia (blue-blind)
#AC1239
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a4e;
/* rgb */ color: rgb(158, 42, 78);
/* oklch */ color: oklch(47.6% 0.153 6.7);
Tailwind
colors: {
  custom: {
    50: '#c06d7f',
    500: '#9e2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a4e;
$custom-light: #c06d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a4e",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 341.379,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.15309,
    "h": 6.7
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#9E2A4E
secondary
#66BEA3
accent
#E1B147
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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