#9F246B#9F246B

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

Color values

HEX#9F246B
RGBrgb(159, 36, 107)
HSLhsl(325, 63%, 38%)
HSVhsv(325, 77%, 62%)
CMYKcmyk(0%, 77.4%, 32.7%, 37.6%)
CIE-LABlab(37.29, 55.20, -11.07)
CIE-LCHlch(37.29, 56.30, 348.66°)
OKLaboklab(48.21% 0.1689 -0.0288)
OKLCHoklch(48.21% 0.171 350.3)
XYZxyz(17.5838, 9.6963, 14.8527)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F246B #249F58
analogous
#95249F #9F246B #9F242D
triadic
#9F246B #6B9F24 #246B9F
tetradic
#9F246B #9F9524 #249F58 #242D9F
square
#9F246B #9F9524 #249F58 #242D9F
split-complementary
#9F246B #2D9F24 #249F95
monochromatic
#3B0D28 #6D1949 #9F246B #D0308C #DB62A8

Accessibility & contrast

On white

7.15
#9F246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F246B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F246B#FFFFFF#000000##FFFFFF
##9F246B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#5D6068
Tritanopia (blue-blind)
#AB1B44
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f246b;
/* rgb */ color: rgb(159, 36, 107);
/* oklch */ color: oklch(48.2% 0.171 350.3);
Tailwind
colors: {
  custom: {
    50: '#c06c95',
    500: '#9f246b',
    950: '#000000',
  },
}
SCSS
$custom: #9f246b;
$custom-light: #c06c95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f246b",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 325.366,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.17136,
    "h": 350.3
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#9F246B
secondary
#5EC188
accent
#E68742
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F246B

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

Preview Lab → · Contrast checker → · Palette generator →

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