#9D2D7D#9D2D7D

#9D2D7D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.170 H 341.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D2D7D
RGBrgb(157, 45, 125)
HSLhsl(317, 55%, 40%)
HSVhsv(317, 71%, 62%)
CMYKcmyk(0%, 71.3%, 20.4%, 38.4%)
CIE-LABlab(38.77, 53.91, -20.11)
CIE-LCHlch(38.77, 57.54, 339.55°)
OKLaboklab(49.47% 0.1613 -0.054)
OKLCHoklch(49.47% 0.17 341.5)
XYZxyz(18.5452, 10.5274, 20.4534)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D7D #2D9D4D
analogous
#852D9D #9D2D7D #9D2D45
triadic
#9D2D7D #7D9D2D #2D7D9D
tetradic
#9D2D7D #9D852D #2D9D4D #2D459D
square
#9D2D7D #9D852D #2D9D4D #2D459D
split-complementary
#9D2D7D #459D2D #2D9D85
monochromatic
#3E1231 #6D1F57 #9D2D7D #C83FA1 #D66FB8

Accessibility & contrast

On white

6.76
#9D2D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D7D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D7D#FFFFFF#000000##FFFFFF
##9D2D7D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A72F51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d7d;
/* rgb */ color: rgb(157, 45, 125);
/* oklch */ color: oklch(49.5% 0.170 341.5);
Tailwind
colors: {
  custom: {
    50: '#bd70a3',
    500: '#9d2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d7d;
$custom-light: #bd70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d7d",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 317.143,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.17014,
    "h": 341.5
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#9D2D7D
secondary
#69BD81
accent
#DF7449
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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