#9F248A#9F248A

#9F248A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.190 H 336.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F248A
RGBrgb(159, 36, 138)
HSLhsl(310, 63%, 38%)
HSVhsv(310, 77%, 62%)
CMYKcmyk(0%, 77.4%, 13.2%, 37.6%)
CIE-LABlab(38.67, 59.32, -28.26)
CIE-LCHlch(38.67, 65.71, 334.53°)
OKLaboklab(49.66% 0.1742 -0.0771)
OKLCHoklch(49.66% 0.19 336.1)
XYZxyz(19.5167, 10.4695, 25.0328)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F248A #249F39
analogous
#76249F #9F248A #9F244C
triadic
#9F248A #8A9F24 #248A9F
tetradic
#9F248A #9F7624 #249F39 #244C9F
square
#9F248A #9F7624 #249F39 #244C9F
split-complementary
#9F248A #4C9F24 #249F76
monochromatic
#3B0D33 #6D195F #9F248A #D030B5 #DB62C7

Accessibility & contrast

On white

6.79
#9F248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F248A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F248A#FFFFFF#000000##FFFFFF
##9F248A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#A72D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f248a;
/* rgb */ color: rgb(159, 36, 138);
/* oklch */ color: oklch(49.7% 0.190 336.1);
Tailwind
colors: {
  custom: {
    50: '#bf6dac',
    500: '#9f248a',
    950: '#000000',
  },
}
SCSS
$custom: #9f248a;
$custom-light: #bf6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f248a",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 310.244,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4966,
    "c": 0.19046,
    "h": 336.1
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#9F248A
secondary
#5EC16F
accent
#E65E42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F248A

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

Preview Lab → · Contrast checker → · Palette generator →

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