#9F296F#9F296F

#9F296F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.168 H 348.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9F296F
RGBrgb(159, 41, 111)
HSLhsl(324, 59%, 39%)
HSVhsv(324, 74%, 62%)
CMYKcmyk(0%, 74.2%, 30.2%, 37.6%)
CIE-LABlab(38.03, 54.02, -12.47)
CIE-LCHlch(38.03, 55.45, 347.00°)
OKLaboklab(48.8% 0.1647 -0.0327)
OKLCHoklch(48.8% 0.168 348.8)
XYZxyz(17.9612, 10.1065, 16.0407)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F296F #299F59
analogous
#94299F #9F296F #9F2934
triadic
#9F296F #6F9F29 #296F9F
tetradic
#9F296F #9F9429 #299F59 #29349F
square
#9F296F #9F9429 #299F59 #29349F
split-complementary
#9F296F #349F29 #299F94
monochromatic
#3E102B #6E1C4D #9F296F #CC3990 #D96AAC

Accessibility & contrast

On white

6.95
#9F296F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F296F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F296F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F296F#FFFFFF#000000##FFFFFF
##9F296F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C71
Deuteranopia (green-blind)
#5D616C
Tritanopia (blue-blind)
#AB2348
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f296f;
/* rgb */ color: rgb(159, 41, 111);
/* oklch */ color: oklch(48.8% 0.168 348.8);
Tailwind
colors: {
  custom: {
    50: '#bf6e98',
    500: '#9f296f',
    950: '#000000',
  },
}
SCSS
$custom: #9f296f;
$custom-light: #bf6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f296f",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 324.407,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.16794,
    "h": 348.8
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#9F296F
secondary
#65BF8A
accent
#E28546
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F296F

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

Preview Lab → · Contrast checker → · Palette generator →

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