#9D2A6A#9D2A6A

#9D2A6A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.163 H 350.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2A6A
RGBrgb(157, 42, 106)
HSLhsl(327, 58%, 39%)
HSVhsv(327, 73%, 62%)
CMYKcmyk(0%, 73.2%, 32.5%, 38.4%)
CIE-LABlab(37.60, 52.51, -10.01)
CIE-LCHlch(37.60, 53.45, 349.21°)
OKLaboklab(48.36% 0.1605 -0.026)
OKLCHoklch(48.36% 0.163 350.8)
XYZxyz(17.3351, 9.8666, 14.6244)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A6A #2A9D5D
analogous
#972A9D #9D2A6A #9D2A30
triadic
#9D2A6A #6A9D2A #2A6A9D
tetradic
#9D2A6A #9D972A #2A9D5D #2A309D
square
#9D2A6A #9D972A #2A9D5D #2A309D
split-complementary
#9D2A6A #309D2A #2A9D97
monochromatic
#3C1029 #6D1D49 #9D2A6A #CA3A8A #D76AA7

Accessibility & contrast

On white

7.06
#9D2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A6A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A6A#FFFFFF#000000##FFFFFF
##9D2A6A1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4B6C
Deuteranopia (green-blind)
#5E6067
Tritanopia (blue-blind)
#A92246
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2a6a;
/* rgb */ color: rgb(157, 42, 106);
/* oklch */ color: oklch(48.4% 0.163 350.8);
Tailwind
colors: {
  custom: {
    50: '#be6e94',
    500: '#9d2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a6a;
$custom-light: #be6e94;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a6a",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 326.609,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.16256,
    "h": 350.8
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#9D2A6A
secondary
#65BE8C
accent
#E18B47
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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