#9F296D#9F296D

#9F296D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.167 H 349.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F296D
RGBrgb(159, 41, 109)
HSLhsl(325, 59%, 39%)
HSVhsv(325, 74%, 62%)
CMYKcmyk(0%, 74.2%, 31.4%, 37.6%)
CIE-LABlab(37.96, 53.78, -11.33)
CIE-LCHlch(37.96, 54.96, 348.10°)
OKLaboklab(48.72% 0.1642 -0.0296)
OKLCHoklch(48.72% 0.167 349.8)
XYZxyz(17.8523, 10.0630, 15.4672)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F296D #299F5B
analogous
#96299F #9F296D #9F2932
triadic
#9F296D #6D9F29 #296D9F
tetradic
#9F296D #9F9629 #299F5B #29329F
square
#9F296D #9F9629 #299F5B #29329F
split-complementary
#9F296D #329F29 #299F96
monochromatic
#3E102A #6E1C4C #9F296D #CC398E #D96AAA

Accessibility & contrast

On white

6.97
#9F296D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F296D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F296D#FFFFFF#000000##FFFFFF
##9F296D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6F
Deuteranopia (green-blind)
#5E616A
Tritanopia (blue-blind)
#AB2247
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f296d;
/* rgb */ color: rgb(159, 41, 109);
/* oklch */ color: oklch(48.7% 0.167 349.8);
Tailwind
colors: {
  custom: {
    50: '#c06e96',
    500: '#9f296d',
    950: '#000000',
  },
}
SCSS
$custom: #9f296d;
$custom-light: #c06e96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f296d",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 325.424,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.16686,
    "h": 349.8
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#9F296D
secondary
#65BF8B
accent
#E28846
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F296D

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

Preview Lab → · Contrast checker → · Palette generator →

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