#9D2A5A#9D2A5A

#9D2A5A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.156 H 359.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9D2A5A
RGBrgb(157, 42, 90)
HSLhsl(335, 58%, 39%)
HSVhsv(335, 73%, 62%)
CMYKcmyk(0%, 73.2%, 42.7%, 38.4%)
CIE-LABlab(37.05, 50.71, -0.67)
CIE-LCHlch(37.05, 50.72, 359.24°)
OKLaboklab(47.77% 0.1556 -0.0011)
OKLCHoklch(47.77% 0.156 359.6)
XYZxyz(16.5793, 9.5643, 10.6439)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A5A #2A9D6D
analogous
#9D2A94 #9D2A5A #9D342A
triadic
#9D2A5A #5A9D2A #2A5A9D
tetradic
#9D2A5A #949D2A #2A9D6D #342A9D
square
#9D2A5A #949D2A #2A9D6D #342A9D
split-complementary
#9D2A5A #2A9D34 #2A949D
monochromatic
#3C1023 #6D1D3E #9D2A5A #CA3A76 #D76A98

Accessibility & contrast

On white

7.21
#9D2A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D2A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A5A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A5A#FFFFFF#000000##FFFFFF
##9D2A5A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495B
Deuteranopia (green-blind)
#615F57
Tritanopia (blue-blind)
#AA1A3E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2a5a;
/* rgb */ color: rgb(157, 42, 90);
/* oklch */ color: oklch(47.8% 0.156 359.6);
Tailwind
colors: {
  custom: {
    50: '#bf6d88',
    500: '#9d2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a5a;
$custom-light: #bf6d88;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a5a",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 334.957,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.15555,
    "h": 359.6
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#9D2A5A
secondary
#65BE99
accent
#E1A147
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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