#9F246A#9F246A

#9F246A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.171 H 350.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9F246A
RGBrgb(159, 36, 106)
HSLhsl(326, 63%, 38%)
HSVhsv(326, 77%, 62%)
CMYKcmyk(0%, 77.4%, 33.3%, 37.6%)
CIE-LABlab(37.25, 55.08, -10.50)
CIE-LCHlch(37.25, 56.07, 349.21°)
OKLaboklab(48.17% 0.1687 -0.0273)
OKLCHoklch(48.17% 0.171 350.8)
XYZxyz(17.5315, 9.6754, 14.5772)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F246A #249F59
analogous
#96249F #9F246A #9F242C
triadic
#9F246A #6A9F24 #246A9F
tetradic
#9F246A #9F9624 #249F59 #242C9F
square
#9F246A #9F9624 #249F59 #242C9F
split-complementary
#9F246A #2C9F24 #249F96
monochromatic
#3B0D27 #6D1949 #9F246A #D0308B #DB62A7

Accessibility & contrast

On white

7.16
#9F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F246A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F246A#FFFFFF#000000##FFFFFF
##9F246A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6C
Deuteranopia (green-blind)
#5D6067
Tritanopia (blue-blind)
#AB1A44
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f246a;
/* rgb */ color: rgb(159, 36, 106);
/* oklch */ color: oklch(48.2% 0.171 350.8);
Tailwind
colors: {
  custom: {
    50: '#c06c94',
    500: '#9f246a',
    950: '#000000',
  },
}
SCSS
$custom: #9f246a;
$custom-light: #c06c94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f246a",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 325.854,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.17085,
    "h": 350.8
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#9F246A
secondary
#5EC189
accent
#E68942
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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