#9D2D6C#9D2D6C

#9D2D6C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.160 H 350.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D2D6C
RGBrgb(157, 45, 108)
HSLhsl(326, 55%, 40%)
HSVhsv(326, 71%, 62%)
CMYKcmyk(0%, 71.3%, 31.2%, 38.4%)
CIE-LABlab(38.07, 51.65, -10.55)
CIE-LCHlch(38.07, 52.71, 348.45°)
OKLaboklab(48.73% 0.1575 -0.0275)
OKLCHoklch(48.73% 0.16 350.1)
XYZxyz(17.5507, 10.1295, 15.2154)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D6C #2D9D5E
analogous
#962D9D #9D2D6C #9D2D34
triadic
#9D2D6C #6C9D2D #2D6C9D
tetradic
#9D2D6C #9D962D #2D9D5E #2D349D
square
#9D2D6C #9D962D #2D9D5E #2D349D
split-complementary
#9D2D6C #349D2D #2D9D96
monochromatic
#3E122B #6D1F4B #9D2D6C #C83F8C #D66FA9

Accessibility & contrast

On white

6.94
#9D2D6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2D6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D6C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D6C#FFFFFF#000000##FFFFFF
##9D2D6C1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#5E6169
Tritanopia (blue-blind)
#A92748
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2d6c;
/* rgb */ color: rgb(157, 45, 108);
/* oklch */ color: oklch(48.7% 0.160 350.1);
Tailwind
colors: {
  custom: {
    50: '#be6f96',
    500: '#9d2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d6c;
$custom-light: #be6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d6c",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 326.25,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.15991,
    "h": 350.1
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#9D2D6C
secondary
#69BD8E
accent
#DF8B49
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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