#9E2A54#9E2A54

#9E2A54 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.155 H 3.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9E2A54
RGBrgb(158, 42, 84)
HSLhsl(338, 58%, 39%)
HSVhsv(338, 73%, 62%)
CMYKcmyk(0%, 73.4%, 46.8%, 38%)
CIE-LABlab(37.05, 50.41, 3.20)
CIE-LCHlch(37.05, 50.51, 3.63°)
OKLaboklab(47.75% 0.1543 0.0088)
OKLCHoklch(47.75% 0.155 3.2)
XYZxyz(16.5301, 9.5673, 9.3620)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A54 #2A9E74
analogous
#9E2A8E #9E2A54 #9E3A2A
triadic
#9E2A54 #549E2A #2A549E
tetradic
#9E2A54 #8E9E2A #2A9E74 #3A2A9E
square
#9E2A54 #8E9E2A #2A9E74 #3A2A9E
split-complementary
#9E2A54 #2A9E3A #2A8E9E
monochromatic
#3D1021 #6E1D3A #9E2A54 #CB3A6F #D86B92

Accessibility & contrast

On white

7.21
#9E2A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E2A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A54
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A54#FFFFFF#000000##FFFFFF
##9E2A541.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444955
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#AC163C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a54;
/* rgb */ color: rgb(158, 42, 84);
/* oklch */ color: oklch(47.7% 0.155 3.2);
Tailwind
colors: {
  custom: {
    50: '#c06d83',
    500: '#9e2a54',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a54;
$custom-light: #c06d83;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a54",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 338.276,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.15456,
    "h": 3.2
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#9E2A54
secondary
#66BE9E
accent
#E1A947
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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