#9D2D5A#9D2D5A

#9D2D5A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.152 H 0.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9D2D5A
RGBrgb(157, 45, 90)
HSLhsl(336, 55%, 40%)
HSVhsv(336, 71%, 62%)
CMYKcmyk(0%, 71.3%, 42.7%, 38.4%)
CIE-LABlab(37.45, 49.58, -0.08)
CIE-LCHlch(37.45, 49.58, 359.91°)
OKLaboklab(48.07% 0.152 0.0004)
OKLCHoklch(48.07% 0.152 0.1)
XYZxyz(16.6897, 9.7851, 10.6807)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D5A #2D9D70
analogous
#9D2D92 #9D2D5A #9D382D
triadic
#9D2D5A #5A9D2D #2D5A9D
tetradic
#9D2D5A #929D2D #2D9D70 #382D9D
square
#9D2D5A #929D2D #2D9D70 #382D9D
split-complementary
#9D2D5A #2D9D38 #2D929D
monochromatic
#3E1223 #6D1F3F #9D2D5A #C83F76 #D66F98

Accessibility & contrast

On white

7.10
#9D2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D2D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2D5A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D5A#FFFFFF#000000##FFFFFF
##9D2D5A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#626057
Tritanopia (blue-blind)
#AA1E40
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2d5a;
/* rgb */ color: rgb(157, 45, 90);
/* oklch */ color: oklch(48.1% 0.152 0.1);
Tailwind
colors: {
  custom: {
    50: '#bf6f88',
    500: '#9d2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d5a;
$custom-light: #bf6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d5a",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 335.893,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.15195,
    "h": 0.1
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#9D2D5A
secondary
#69BD9B
accent
#DFA349
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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