#9F307D#9F307D

#9F307D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.168 H 342.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F307D
RGBrgb(159, 48, 125)
HSLhsl(318, 54%, 41%)
HSVhsv(318, 70%, 62%)
CMYKcmyk(0%, 69.8%, 21.4%, 37.6%)
CIE-LABlab(39.53, 53.31, -18.92)
CIE-LCHlch(39.53, 56.57, 340.46°)
OKLaboklab(50.08% 0.1599 -0.0507)
OKLCHoklch(50.08% 0.168 342.4)
XYZxyz(19.0573, 10.9674, 20.5113)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F307D #309F52
analogous
#89309F #9F307D #9F3046
triadic
#9F307D #7D9F30 #307D9F
tetradic
#9F307D #9F8930 #309F52 #30469F
square
#9F307D #9F8930 #309F52 #30469F
split-complementary
#9F307D #469F30 #309F89
monochromatic
#411433 #702258 #9F307D #C7459F #D574B7

Accessibility & contrast

On white

6.58
#9F307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F307D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F307D#FFFFFF#000000##FFFFFF
##9F307D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#A93152
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f307d;
/* rgb */ color: rgb(159, 48, 125);
/* oklch */ color: oklch(50.1% 0.168 342.4);
Tailwind
colors: {
  custom: {
    50: '#bf72a2',
    500: '#9f307d',
    950: '#000000',
  },
}
SCSS
$custom: #9f307d;
$custom-light: #bf72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f307d",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 318.378,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5008,
    "c": 0.16772,
    "h": 342.4
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#9F307D
secondary
#6EBD86
accent
#DD784B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F307D

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

Preview Lab → · Contrast checker → · Palette generator →

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