#9D2452#9D2452

#9D2452 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.160 H 3.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9D2452
RGBrgb(157, 36, 82)
HSLhsl(337, 63%, 38%)
HSVhsv(337, 77%, 62%)
CMYKcmyk(0%, 77.1%, 47.8%, 38.4%)
CIE-LABlab(36.06, 52.01, 3.03)
CIE-LCHlch(36.06, 52.10, 3.33°)
OKLaboklab(46.96% 0.1594 0.0083)
OKLCHoklch(46.96% 0.16 3)
XYZxyz(16.0598, 9.0412, 8.8805)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2452 #249D6F
analogous
#9D248E #9D2452 #9D3224
triadic
#9D2452 #529D24 #24529D
tetradic
#9D2452 #8E9D24 #249D6F #32249D
square
#9D2452 #8E9D24 #249D6F #32249D
split-complementary
#9D2452 #249D32 #248E9D
monochromatic
#390D1E #6B1938 #9D2452 #CF2F6C #DB618F

Accessibility & contrast

On white

7.48
#9D2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2452
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2452#FFFFFF#000000##FFFFFF
##9D24521.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AB0838
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2452;
/* rgb */ color: rgb(157, 36, 82);
/* oklch */ color: oklch(47.0% 0.160 3.0);
Tailwind
colors: {
  custom: {
    50: '#bf6b82',
    500: '#9d2452',
    950: '#000000',
  },
}
SCSS
$custom: #9d2452;
$custom-light: #bf6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2452",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 337.19,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.1596,
    "h": 3
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#9D2452
secondary
#5DC09A
accent
#E6A842
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2452

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

Preview Lab → · Contrast checker → · Palette generator →

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