#9D2A52#9D2A52

#9D2A52 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.153 H 4.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9D2A52
RGBrgb(157, 42, 82)
HSLhsl(339, 58%, 39%)
HSVhsv(339, 73%, 62%)
CMYKcmyk(0%, 73.2%, 47.8%, 38.4%)
CIE-LABlab(36.81, 49.92, 4.10)
CIE-LCHlch(36.81, 50.09, 4.70°)
OKLaboklab(47.51% 0.1527 0.011)
OKLCHoklch(47.51% 0.153 4.1)
XYZxyz(16.2569, 9.4354, 8.9461)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A52 #2A9D75
analogous
#9D2A8C #9D2A52 #9D3B2A
triadic
#9D2A52 #529D2A #2A529D
tetradic
#9D2A52 #8C9D2A #2A9D75 #3B2A9D
square
#9D2A52 #8C9D2A #2A9D75 #3B2A9D
split-complementary
#9D2A52 #2A9D3B #2A8C9D
monochromatic
#3C1020 #6D1D39 #9D2A52 #CA3A6C #D76A90

Accessibility & contrast

On white

7.27
#9D2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A52
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A52#FFFFFF#000000##FFFFFF
##9D2A521.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#AB153B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2a52;
/* rgb */ color: rgb(157, 42, 82);
/* oklch */ color: oklch(47.5% 0.153 4.1);
Tailwind
colors: {
  custom: {
    50: '#bf6d82',
    500: '#9d2a52',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a52;
$custom-light: #bf6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a52",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 339.13,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.15308,
    "h": 4.1
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#9D2A52
secondary
#65BE9F
accent
#E1AB47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9D2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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