#9E2D52#9E2D52

#9E2D52 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.151 H 5.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9E2D52
RGBrgb(158, 45, 82)
HSLhsl(340, 56%, 40%)
HSVhsv(340, 72%, 62%)
CMYKcmyk(0%, 71.5%, 48.1%, 38%)
CIE-LABlab(37.40, 49.09, 4.98)
CIE-LCHlch(37.40, 49.35, 5.79°)
OKLaboklab(47.99% 0.15 0.0132)
OKLCHoklch(47.99% 0.151 5)
XYZxyz(16.5633, 9.7572, 8.9921)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D52 #2D9E79
analogous
#9E2D8B #9E2D52 #9E412D
triadic
#9E2D52 #529E2D #2D529E
tetradic
#9E2D52 #8B9E2D #2D9E79 #412D9E
square
#9E2D52 #8B9E2D #2D9E79 #412D9E
split-complementary
#9E2D52 #2D9E41 #2D8B9E
monochromatic
#3F1221 #6E1F39 #9E2D52 #C9406C #D66F91

Accessibility & contrast

On white

7.12
#9E2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2D52
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D52#FFFFFF#000000##FFFFFF
##9E2D521.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2d52;
/* rgb */ color: rgb(158, 45, 82);
/* oklch */ color: oklch(48.0% 0.151 5.0);
Tailwind
colors: {
  custom: {
    50: '#c06f82',
    500: '#9e2d52',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d52;
$custom-light: #c06f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d52",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 340.354,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.15054,
    "h": 5
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#9E2D52
secondary
#69BDA2
accent
#DFAE49
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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