#9E2E57#9E2E57

#9E2E57 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.151 H 2.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E2E57
RGBrgb(158, 46, 87)
HSLhsl(338, 55%, 40%)
HSVhsv(338, 71%, 62%)
CMYKcmyk(0%, 70.9%, 44.9%, 38%)
CIE-LABlab(37.69, 49.19, 2.20)
CIE-LCHlch(37.69, 49.24, 2.56°)
OKLaboklab(48.24% 0.1506 0.0062)
OKLCHoklch(48.24% 0.151 2.4)
XYZxyz(16.7991, 9.9133, 10.0438)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E57 #2E9E75
analogous
#9E2E8F #9E2E57 #9E3D2E
triadic
#9E2E57 #579E2E #2E579E
tetradic
#9E2E57 #8F9E2E #2E9E75 #3D2E9E
square
#9E2E57 #8F9E2E #2E9E75 #3D2E9E
split-complementary
#9E2E57 #2E9E3D #2E8F9E
monochromatic
#3F1223 #6F203D #9E2E57 #C84173 #D67196

Accessibility & contrast

On white

7.04
#9E2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E2E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2E57
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E57#FFFFFF#000000##FFFFFF
##9E2E571.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B58
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#AC1E3F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2e57;
/* rgb */ color: rgb(158, 46, 87);
/* oklch */ color: oklch(48.2% 0.151 2.4);
Tailwind
colors: {
  custom: {
    50: '#bf6f86',
    500: '#9e2e57',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e57;
$custom-light: #bf6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e57",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 338.036,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.1507,
    "h": 2.4
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#9E2E57
secondary
#6BBD9F
accent
#DEA84A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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