#9F247A#9F247A

#9F247A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.180 H 343.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9F247A
RGBrgb(159, 36, 122)
HSLhsl(318, 63%, 38%)
HSVhsv(318, 77%, 62%)
CMYKcmyk(0%, 77.4%, 23.3%, 37.6%)
CIE-LABlab(37.91, 57.08, -19.54)
CIE-LCHlch(37.91, 60.33, 341.10°)
OKLaboklab(48.86% 0.1721 -0.0523)
OKLCHoklch(48.86% 0.18 343.1)
XYZxyz(18.4425, 10.0398, 19.3752)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F247A #249F49
analogous
#86249F #9F247A #9F243C
triadic
#9F247A #7A9F24 #247A9F
tetradic
#9F247A #9F8624 #249F49 #243C9F
square
#9F247A #9F8624 #249F49 #243C9F
split-complementary
#9F247A #3C9F24 #249F86
monochromatic
#3B0D2D #6D1954 #9F247A #D030A0 #DB62B7

Accessibility & contrast

On white

6.98
#9F247A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F247A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F247A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F247A#FFFFFF#000000##FFFFFF
##9F247A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#A9244C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f247a;
/* rgb */ color: rgb(159, 36, 122);
/* oklch */ color: oklch(48.9% 0.180 343.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ca0',
    500: '#9f247a',
    950: '#000000',
  },
}
SCSS
$custom: #9f247a;
$custom-light: #bf6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f247a",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 318.049,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.1799,
    "h": 343.1
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#9F247A
secondary
#5EC17C
accent
#E67342
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F247A

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

Preview Lab → · Contrast checker → · Palette generator →

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