#9D2E52#9D2E52

#9D2E52 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.9% C 0.148 H 5.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9D2E52
RGBrgb(157, 46, 82)
HSLhsl(341, 55%, 40%)
HSVhsv(341, 71%, 62%)
CMYKcmyk(0%, 70.7%, 47.8%, 38.4%)
CIE-LABlab(37.36, 48.39, 4.89)
CIE-LCHlch(37.36, 48.64, 5.77°)
OKLaboklab(47.92% 0.1478 0.013)
OKLCHoklch(47.92% 0.148 5)
XYZxyz(16.4059, 9.7334, 8.9958)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E52 #2E9D79
analogous
#9D2E89 #9D2E52 #9D422E
triadic
#9D2E52 #529D2E #2E529D
tetradic
#9D2E52 #899D2E #2E9D79 #422E9D
square
#9D2E52 #899D2E #2E9D79 #422E9D
split-complementary
#9D2E52 #2E9D42 #2E899D
monochromatic
#3E1221 #6E2039 #9D2E52 #C7416C #D57091

Accessibility & contrast

On white

7.13
#9D2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2E52
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E52#FFFFFF#000000##FFFFFF
##9D2E521.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2e52;
/* rgb */ color: rgb(157, 46, 82);
/* oklch */ color: oklch(47.9% 0.148 5.0);
Tailwind
colors: {
  custom: {
    50: '#bf6f82',
    500: '#9d2e52',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e52;
$custom-light: #bf6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e52",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 340.541,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.14837,
    "h": 5
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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