#9F247D#9F247D

#9F247D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.182 H 341.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9F247D
RGBrgb(159, 36, 125)
HSLhsl(317, 63%, 38%)
HSVhsv(317, 77%, 62%)
CMYKcmyk(0%, 77.4%, 21.4%, 37.6%)
CIE-LABlab(38.05, 57.48, -21.20)
CIE-LCHlch(38.05, 61.27, 339.76°)
OKLaboklab(49.01% 0.1726 -0.057)
OKLCHoklch(49.01% 0.182 341.7)
XYZxyz(18.6313, 10.1153, 20.3693)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F247D #249F46
analogous
#83249F #9F247D #9F2440
triadic
#9F247D #7D9F24 #247D9F
tetradic
#9F247D #9F8324 #249F46 #24409F
square
#9F247D #9F8324 #249F46 #24409F
split-complementary
#9F247D #409F24 #249F83
monochromatic
#3B0D2F #6D1956 #9F247D #D030A4 #DB62BA

Accessibility & contrast

On white

6.95
#9F247D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F247D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F247D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F247D#FFFFFF#000000##FFFFFF
##9F247D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A9264E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f247d;
/* rgb */ color: rgb(159, 36, 125);
/* oklch */ color: oklch(49.0% 0.182 341.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ca3',
    500: '#9f247d',
    950: '#000000',
  },
}
SCSS
$custom: #9f247d;
$custom-light: #bf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f247d",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 316.585,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.18178,
    "h": 341.7
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#9F247D
secondary
#5EC179
accent
#E66F42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F247D

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

Preview Lab → · Contrast checker → · Palette generator →

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