#9D2E7F#9D2E7F

#9D2E7F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.170 H 340.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D2E7F
RGBrgb(157, 46, 127)
HSLhsl(316, 55%, 40%)
HSVhsv(316, 71%, 62%)
CMYKcmyk(0%, 70.7%, 19.1%, 38.4%)
CIE-LABlab(39.00, 53.82, -21.00)
CIE-LCHlch(39.00, 57.78, 338.69°)
OKLaboklab(49.66% 0.1606 -0.0565)
OKLCHoklch(49.66% 0.17 340.6)
XYZxyz(18.7129, 10.6562, 21.1459)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E7F #2E9D4C
analogous
#832E9D #9D2E7F #9D2E48
triadic
#9D2E7F #7F9D2E #2E7F9D
tetradic
#9D2E7F #9D832E #2E9D4C #2E489D
square
#9D2E7F #9D832E #2E9D4C #2E489D
split-complementary
#9D2E7F #489D2E #2E9D83
monochromatic
#3E1232 #6E2059 #9D2E7F #C741A3 #D570BA

Accessibility & contrast

On white

6.71
#9D2E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D2E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E7F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E7F#FFFFFF#000000##FFFFFF
##9D2E7F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#A63152
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2e7f;
/* rgb */ color: rgb(157, 46, 127);
/* oklch */ color: oklch(49.7% 0.170 340.6);
Tailwind
colors: {
  custom: {
    50: '#bd70a4',
    500: '#9d2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e7f;
$custom-light: #bd70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e7f",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 316.216,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.17022,
    "h": 340.6
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#9D2E7F
secondary
#6ABD80
accent
#DE724A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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