#9E2E52#9E2E52

#9E2E52 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.149 H 5.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9E2E52
RGBrgb(158, 46, 82)
HSLhsl(341, 55%, 40%)
HSVhsv(341, 71%, 62%)
CMYKcmyk(0%, 70.9%, 48.1%, 38%)
CIE-LABlab(37.54, 48.71, 5.18)
CIE-LCHlch(37.54, 48.98, 6.07°)
OKLaboklab(48.09% 0.1487 0.0137)
OKLCHoklch(48.09% 0.149 5.3)
XYZxyz(16.6019, 9.8344, 9.0050)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E52 #2E9E7A
analogous
#9E2E8A #9E2E52 #9E422E
triadic
#9E2E52 #529E2E #2E529E
tetradic
#9E2E52 #8A9E2E #2E9E7A #422E9E
square
#9E2E52 #8A9E2E #2E9E7A #422E9E
split-complementary
#9E2E52 #2E9E42 #2E8A9E
monochromatic
#3F1221 #6F2039 #9E2E52 #C8416D #D67191

Accessibility & contrast

On white

7.08
#9E2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2E52
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E52#FFFFFF#000000##FFFFFF
##9E2E521.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AC1B3D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2e52;
/* rgb */ color: rgb(158, 46, 82);
/* oklch */ color: oklch(48.1% 0.149 5.3);
Tailwind
colors: {
  custom: {
    50: '#c06f82',
    500: '#9e2e52',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e52;
$custom-light: #c06f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e52",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 340.714,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.48091,
    "c": 0.14935,
    "h": 5.3
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#9E2E52
secondary
#6BBDA3
accent
#DEAE4A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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