#9D2A4C#9D2A4C

#9D2A4C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.152 H 7.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D2A4C
RGBrgb(157, 42, 76)
HSLhsl(342, 58%, 39%)
HSVhsv(342, 73%, 62%)
CMYKcmyk(0%, 73.2%, 51.6%, 38.4%)
CIE-LABlab(36.65, 49.38, 7.72)
CIE-LCHlch(36.65, 49.98, 8.89°)
OKLaboklab(47.34% 0.1504 0.02)
OKLCHoklch(47.34% 0.152 7.6)
XYZxyz(16.0385, 9.3480, 7.7959)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A4C #2A9D7B
analogous
#9D2A86 #9D2A4C #9D422A
triadic
#9D2A4C #4C9D2A #2A4C9D
tetradic
#9D2A4C #869D2A #2A9D7B #422A9D
square
#9D2A4C #869D2A #2A9D7B #422A9D
split-complementary
#9D2A4C #2A9D42 #2A869D
monochromatic
#3C101D #6D1D35 #9D2A4C #CA3A65 #D76A8A

Accessibility & contrast

On white

7.32
#9D2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D2A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A4C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A4C#FFFFFF#000000##FFFFFF
##9D2A4C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484D
Deuteranopia (green-blind)
#645F49
Tritanopia (blue-blind)
#AB1138
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2a4c;
/* rgb */ color: rgb(157, 42, 76);
/* oklch */ color: oklch(47.3% 0.152 7.6);
Tailwind
colors: {
  custom: {
    50: '#bf6d7d',
    500: '#9d2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a4c;
$custom-light: #bf6d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a4c",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 342.261,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.15172,
    "h": 7.6
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#9D2A4C
secondary
#65BEA4
accent
#E1B347
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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