#9F246C#9F246C

#9F246C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.172 H 349.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9F246C
RGBrgb(159, 36, 108)
HSLhsl(325, 63%, 38%)
HSVhsv(325, 77%, 62%)
CMYKcmyk(0%, 77.4%, 32.1%, 37.6%)
CIE-LABlab(37.33, 55.31, -11.64)
CIE-LCHlch(37.33, 56.53, 348.11°)
OKLaboklab(48.25% 0.1692 -0.0304)
OKLCHoklch(48.25% 0.172 349.8)
XYZxyz(17.6367, 9.7175, 15.1313)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F246C #249F57
analogous
#94249F #9F246C #9F242E
triadic
#9F246C #6C9F24 #246C9F
tetradic
#9F246C #9F9424 #249F57 #242E9F
square
#9F246C #9F9424 #249F57 #242E9F
split-complementary
#9F246C #2E9F24 #249F94
monochromatic
#3B0D28 #6D194A #9F246C #D0308E #DB62A9

Accessibility & contrast

On white

7.14
#9F246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F246C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F246C#FFFFFF#000000##FFFFFF
##9F246C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#5D6069
Tritanopia (blue-blind)
#AB1C45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f246c;
/* rgb */ color: rgb(159, 36, 108);
/* oklch */ color: oklch(48.3% 0.172 349.8);
Tailwind
colors: {
  custom: {
    50: '#c06c96',
    500: '#9f246c',
    950: '#000000',
  },
}
SCSS
$custom: #9f246c;
$custom-light: #c06c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f246c",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 324.878,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.17188,
    "h": 349.8
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#9F246C
secondary
#5EC187
accent
#E68642
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F246C

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

Preview Lab → · Contrast checker → · Palette generator →

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