#9F246F#9F246F

#9F246F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.173 H 348.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F246F
RGBrgb(159, 36, 111)
HSLhsl(323, 63%, 38%)
HSVhsv(323, 77%, 62%)
CMYKcmyk(0%, 77.4%, 30.2%, 37.6%)
CIE-LABlab(37.45, 55.68, -13.36)
CIE-LCHlch(37.45, 57.26, 346.51°)
OKLaboklab(48.38% 0.1699 -0.0351)
OKLCHoklch(48.38% 0.173 348.3)
XYZxyz(17.7991, 9.7824, 15.9867)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F246F #249F54
analogous
#91249F #9F246F #9F2431
triadic
#9F246F #6F9F24 #246F9F
tetradic
#9F246F #9F9124 #249F54 #24319F
square
#9F246F #9F9124 #249F54 #24319F
split-complementary
#9F246F #319F24 #249F91
monochromatic
#3B0D29 #6D194C #9F246F #D03092 #DB62AC

Accessibility & contrast

On white

7.10
#9F246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F246F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F246F#FFFFFF#000000##FFFFFF
##9F246F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#AB1E47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f246f;
/* rgb */ color: rgb(159, 36, 111);
/* oklch */ color: oklch(48.4% 0.173 348.3);
Tailwind
colors: {
  custom: {
    50: '#c06c98',
    500: '#9f246f',
    950: '#000000',
  },
}
SCSS
$custom: #9f246f;
$custom-light: #c06c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f246f",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 323.415,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.17348,
    "h": 348.3
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#9F246F
secondary
#5EC185
accent
#E68242
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F246F

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

Preview Lab → · Contrast checker → · Palette generator →

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