#9F247F#9F247F

#9F247F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.183 H 340.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F247F
RGBrgb(159, 36, 127)
HSLhsl(316, 63%, 38%)
HSVhsv(316, 77%, 62%)
CMYKcmyk(0%, 77.4%, 20.1%, 37.6%)
CIE-LABlab(38.14, 57.76, -22.30)
CIE-LCHlch(38.14, 61.91, 338.89°)
OKLaboklab(49.1% 0.1729 -0.0601)
OKLCHoklch(49.1% 0.183 340.8)
XYZxyz(18.7603, 10.1669, 21.0490)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F247F #249F44
analogous
#81249F #9F247F #9F2441
triadic
#9F247F #7F9F24 #247F9F
tetradic
#9F247F #9F8124 #249F44 #24419F
square
#9F247F #9F8124 #249F44 #24419F
split-complementary
#9F247F #419F24 #249F81
monochromatic
#3B0D2F #6D1957 #9F247F #D030A6 #DB62BC

Accessibility & contrast

On white

6.92
#9F247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F247F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F247F#FFFFFF#000000##FFFFFF
##9F247F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#56617C
Tritanopia (blue-blind)
#A9274F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f247f;
/* rgb */ color: rgb(159, 36, 127);
/* oklch */ color: oklch(49.1% 0.183 340.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ca4',
    500: '#9f247f',
    950: '#000000',
  },
}
SCSS
$custom: #9f247f;
$custom-light: #bf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f247f",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 315.61,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.18306,
    "h": 340.8
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#9F247F
secondary
#5EC178
accent
#E66C42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F247F

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

Preview Lab → · Contrast checker → · Palette generator →

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