#9D307E#9D307E

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

Color values

HEX#9D307E
RGBrgb(157, 48, 126)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 69%, 62%)
CMYKcmyk(0%, 69.4%, 19.7%, 38.4%)
CIE-LABlab(39.22, 52.91, -20.03)
CIE-LCHlch(39.22, 56.58, 339.27°)
OKLaboklab(49.81% 0.1581 -0.0538)
OKLCHoklch(49.81% 0.167 341.2)
XYZxyz(18.7280, 10.7902, 20.8310)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D307E #309D4F
analogous
#85309D #9D307E #9D3048
triadic
#9D307E #7E9D30 #307E9D
tetradic
#9D307E #9D8530 #309D4F #30489D
square
#9D307E #9D8530 #309D4F #30489D
split-complementary
#9D307E #489D30 #309D85
monochromatic
#3F1333 #6E2258 #9D307E #C644A1 #D473B9

Accessibility & contrast

On white

6.65
#9D307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D307E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D307E#FFFFFF#000000##FFFFFF
##9D307E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#A63253
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d307e;
/* rgb */ color: rgb(157, 48, 126);
/* oklch */ color: oklch(49.8% 0.167 341.2);
Tailwind
colors: {
  custom: {
    50: '#bd71a3',
    500: '#9d307e',
    950: '#000000',
  },
}
SCSS
$custom: #9d307e;
$custom-light: #bd71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d307e",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 317.064,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.16697,
    "h": 341.2
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#9D307E
secondary
#6DBC83
accent
#DD754B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D307E

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

Preview Lab → · Contrast checker → · Palette generator →

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