#9F296C#9F296C

#9F296C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.166 H 350.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9F296C
RGBrgb(159, 41, 108)
HSLhsl(326, 59%, 39%)
HSVhsv(326, 74%, 62%)
CMYKcmyk(0%, 74.2%, 32.1%, 37.6%)
CIE-LABlab(37.92, 53.66, -10.76)
CIE-LCHlch(37.92, 54.72, 348.66°)
OKLaboklab(48.68% 0.164 -0.028)
OKLCHoklch(48.68% 0.166 350.3)
XYZxyz(17.7988, 10.0416, 15.1853)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F296C #299F5C
analogous
#97299F #9F296C #9F2931
triadic
#9F296C #6C9F29 #296C9F
tetradic
#9F296C #9F9729 #299F5C #29319F
square
#9F296C #9F9729 #299F5C #29319F
split-complementary
#9F296C #319F29 #299F97
monochromatic
#3E102A #6E1C4B #9F296C #CC398D #D96AA9

Accessibility & contrast

On white

6.98
#9F296C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F296C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F296C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F296C#FFFFFF#000000##FFFFFF
##9F296C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#5E6169
Tritanopia (blue-blind)
#AB2147
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f296c;
/* rgb */ color: rgb(159, 41, 108);
/* oklch */ color: oklch(48.7% 0.166 350.3);
Tailwind
colors: {
  custom: {
    50: '#c06e96',
    500: '#9f296c',
    950: '#000000',
  },
}
SCSS
$custom: #9f296c;
$custom-light: #c06e96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f296c",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 325.932,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.16634,
    "h": 350.3
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#9F296C
secondary
#65BF8C
accent
#E28946
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F296C

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

Preview Lab → · Contrast checker → · Palette generator →

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