#9F247C#9F247C

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

Color values

HEX#9F247C
RGBrgb(159, 36, 124)
HSLhsl(317, 63%, 38%)
HSVhsv(317, 77%, 62%)
CMYKcmyk(0%, 77.4%, 22%, 37.6%)
CIE-LABlab(38.00, 57.35, -20.65)
CIE-LCHlch(38.00, 60.95, 340.20°)
OKLaboklab(48.96% 0.1725 -0.0554)
OKLCHoklch(48.96% 0.181 342.2)
XYZxyz(18.5677, 10.0899, 20.0346)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F247C #249F47
analogous
#84249F #9F247C #9F243E
triadic
#9F247C #7C9F24 #247C9F
tetradic
#9F247C #9F8424 #249F47 #243E9F
square
#9F247C #9F8424 #249F47 #243E9F
split-complementary
#9F247C #3E9F24 #249F84
monochromatic
#3B0D2E #6D1955 #9F247C #D030A3 #DB62B9

Accessibility & contrast

On white

6.96
#9F247C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F247C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F247C#FFFFFF#000000##FFFFFF
##9F247C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7E
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#A9264D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f247c;
/* rgb */ color: rgb(159, 36, 124);
/* oklch */ color: oklch(49.0% 0.181 342.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ca2',
    500: '#9f247c',
    950: '#000000',
  },
}
SCSS
$custom: #9f247c;
$custom-light: #bf6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f247c",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 317.073,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.18114,
    "h": 342.2
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#9F247C
secondary
#5EC17A
accent
#E67042
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F247C

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

Preview Lab → · Contrast checker → · Palette generator →

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