#9D307D#9D307D

#9D307D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.166 H 341.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9D307D
RGBrgb(157, 48, 125)
HSLhsl(318, 53%, 40%)
HSVhsv(318, 69%, 62%)
CMYKcmyk(0%, 69.4%, 20.4%, 38.4%)
CIE-LABlab(39.18, 52.77, -19.48)
CIE-LCHlch(39.18, 56.25, 339.74°)
OKLaboklab(49.76% 0.1579 -0.0523)
OKLCHoklch(49.76% 0.166 341.7)
XYZxyz(18.6638, 10.7645, 20.4929)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D307D #309D50
analogous
#87309D #9D307D #9D3046
triadic
#9D307D #7D9D30 #307D9D
tetradic
#9D307D #9D8730 #309D50 #30469D
square
#9D307D #9D8730 #309D50 #30469D
split-complementary
#9D307D #469D30 #309D87
monochromatic
#3F1332 #6E2258 #9D307D #C644A0 #D473B8

Accessibility & contrast

On white

6.66
#9D307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D307D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D307D#FFFFFF#000000##FFFFFF
##9D307D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#A73252
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d307d;
/* rgb */ color: rgb(157, 48, 125);
/* oklch */ color: oklch(49.8% 0.166 341.7);
Tailwind
colors: {
  custom: {
    50: '#bd71a2',
    500: '#9d307d',
    950: '#000000',
  },
}
SCSS
$custom: #9d307d;
$custom-light: #bd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d307d",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 317.615,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.16629,
    "h": 341.7
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#9D307D
secondary
#6DBC84
accent
#DD764B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D307D

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

Preview Lab → · Contrast checker → · Palette generator →

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