#9D307B#9D307B

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

Color values

HEX#9D307B
RGBrgb(157, 48, 123)
HSLhsl(319, 53%, 40%)
HSVhsv(319, 69%, 62%)
CMYKcmyk(0%, 69.4%, 21.7%, 38.4%)
CIE-LABlab(39.09, 52.49, -18.37)
CIE-LCHlch(39.09, 55.61, 340.71°)
OKLaboklab(49.67% 0.1575 -0.0492)
OKLCHoklch(49.67% 0.165 342.7)
XYZxyz(18.5373, 10.7139, 19.8268)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D307B #309D52
analogous
#89309D #9D307B #9D3044
triadic
#9D307B #7B9D30 #307B9D
tetradic
#9D307B #9D8930 #309D52 #30449D
square
#9D307B #9D8930 #309D52 #30449D
split-complementary
#9D307B #449D30 #309D89
monochromatic
#3F1332 #6E2256 #9D307B #C6449D #D473B6

Accessibility & contrast

On white

6.68
#9D307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D307B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D307B#FFFFFF#000000##FFFFFF
##9D307B1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A73151
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d307b;
/* rgb */ color: rgb(157, 48, 123);
/* oklch */ color: oklch(49.7% 0.165 342.7);
Tailwind
colors: {
  custom: {
    50: '#bd71a1',
    500: '#9d307b',
    950: '#000000',
  },
}
SCSS
$custom: #9d307b;
$custom-light: #bd71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d307b",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 318.716,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.16497,
    "h": 342.7
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#9D307B
secondary
#6DBC85
accent
#DD794B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9D307B

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

Preview Lab → · Contrast checker → · Palette generator →

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