#9D2D7C#9D2D7C

#9D2D7C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.169 H 342.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D2D7C
RGBrgb(157, 45, 124)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 71.3%, 21%, 38.4%)
CIE-LABlab(38.73, 53.77, -19.55)
CIE-LCHlch(38.73, 57.22, 340.02°)
OKLaboklab(49.42% 0.1611 -0.0525)
OKLCHoklch(49.42% 0.169 342)
XYZxyz(18.4817, 10.5019, 20.1186)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D7C #2D9D4E
analogous
#862D9D #9D2D7C #9D2D44
triadic
#9D2D7C #7C9D2D #2D7C9D
tetradic
#9D2D7C #9D862D #2D9D4E #2D449D
square
#9D2D7C #9D862D #2D9D4E #2D449D
split-complementary
#9D2D7C #449D2D #2D9D86
monochromatic
#3E1231 #6D1F56 #9D2D7C #C83FA0 #D66FB7

Accessibility & contrast

On white

6.77
#9D2D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D7C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D7C#FFFFFF#000000##FFFFFF
##9D2D7C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#A72E50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d7c;
/* rgb */ color: rgb(157, 45, 124);
/* oklch */ color: oklch(49.4% 0.169 342.0);
Tailwind
colors: {
  custom: {
    50: '#bd70a2',
    500: '#9d2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d7c;
$custom-light: #bd70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d7c",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 317.679,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.16948,
    "h": 342
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#9D2D7C
secondary
#69BD82
accent
#DF7549
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9D2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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