#9D2E7D#9D2E7D

#9D2E7D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.169 H 341.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D2E7D
RGBrgb(157, 46, 125)
HSLhsl(317, 55%, 40%)
HSVhsv(317, 71%, 62%)
CMYKcmyk(0%, 70.7%, 20.4%, 38.4%)
CIE-LABlab(38.91, 53.54, -19.90)
CIE-LCHlch(38.91, 57.12, 339.61°)
OKLaboklab(49.56% 0.1602 -0.0534)
OKLCHoklch(49.56% 0.169 341.5)
XYZxyz(18.5838, 10.6046, 20.4662)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E7D #2E9D4E
analogous
#852E9D #9D2E7D #9D2E46
triadic
#9D2E7D #7D9D2E #2E7D9D
tetradic
#9D2E7D #9D852E #2E9D4E #2E469D
square
#9D2E7D #9D852E #2E9D4E #2E469D
split-complementary
#9D2E7D #469D2E #2E9D85
monochromatic
#3E1232 #6E2057 #9D2E7D #C741A1 #D570B8

Accessibility & contrast

On white

6.73
#9D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D2E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E7D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E7D#FFFFFF#000000##FFFFFF
##9D2E7D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A73051
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2e7d;
/* rgb */ color: rgb(157, 46, 125);
/* oklch */ color: oklch(49.6% 0.169 341.5);
Tailwind
colors: {
  custom: {
    50: '#bd70a3',
    500: '#9d2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e7d;
$custom-light: #bd70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e7d",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 317.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.16888,
    "h": 341.5
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#9D2E7D
secondary
#6ABD82
accent
#DE754A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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