#9E2A56#9E2A56

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

Color values

HEX#9E2A56
RGBrgb(158, 42, 86)
HSLhsl(337, 58%, 39%)
HSVhsv(337, 73%, 62%)
CMYKcmyk(0%, 73.4%, 45.6%, 38%)
CIE-LABlab(37.11, 50.60, 2.00)
CIE-LCHlch(37.11, 50.64, 2.27°)
OKLaboklab(47.81% 0.155 0.0057)
OKLCHoklch(47.81% 0.155 2.1)
XYZxyz(16.6095, 9.5991, 9.7805)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A56 #2A9E72
analogous
#9E2A90 #9E2A56 #9E382A
triadic
#9E2A56 #569E2A #2A569E
tetradic
#9E2A56 #909E2A #2A9E72 #382A9E
square
#9E2A56 #909E2A #2A9E72 #382A9E
split-complementary
#9E2A56 #2A9E38 #2A909E
monochromatic
#3D1021 #6E1D3C #9E2A56 #CB3A71 #D86B94

Accessibility & contrast

On white

7.19
#9E2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E2A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A56
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A56#FFFFFF#000000##FFFFFF
##9E2A561.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#636053
Tritanopia (blue-blind)
#AC173C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2a56;
/* rgb */ color: rgb(158, 42, 86);
/* oklch */ color: oklch(47.8% 0.155 2.1);
Tailwind
colors: {
  custom: {
    50: '#c06d85',
    500: '#9e2a56',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a56;
$custom-light: #c06d85;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a56",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 337.241,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.15515,
    "h": 2.1
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#9E2A56
secondary
#66BE9D
accent
#E1A747
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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