#9F2D6A#9F2D6A

#9F2D6A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.161 H 351.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F2D6A
RGBrgb(159, 45, 106)
HSLhsl(328, 56%, 40%)
HSVhsv(328, 72%, 62%)
CMYKcmyk(0%, 71.7%, 33.3%, 37.6%)
CIE-LABlab(38.36, 51.97, -8.83)
CIE-LCHlch(38.36, 52.71, 350.36°)
OKLaboklab(48.98% 0.1589 -0.0228)
OKLCHoklch(48.98% 0.161 351.8)
XYZxyz(17.8390, 10.2903, 14.6797)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D6A #2D9F62
analogous
#9B2D9F #9F2D6A #9F2D31
triadic
#9F2D6A #6A9F2D #2D6A9F
tetradic
#9F2D6A #9F9B2D #2D9F62 #2D319F
square
#9F2D6A #9F9B2D #2D9F62 #2D319F
split-complementary
#9F2D6A #319F2D #2D9F9B
monochromatic
#40122A #6F204A #9F2D6A #C94089 #D670A7

Accessibility & contrast

On white

6.87
#9F2D6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2D6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D6A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D6A#FFFFFF#000000##FFFFFF
##9F2D6A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404D6C
Deuteranopia (green-blind)
#606267
Tritanopia (blue-blind)
#AB2547
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2d6a;
/* rgb */ color: rgb(159, 45, 106);
/* oklch */ color: oklch(49.0% 0.161 351.8);
Tailwind
colors: {
  custom: {
    50: '#bf7094',
    500: '#9f2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d6a;
$custom-light: #bf7094;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d6a",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 327.895,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.16051,
    "h": 351.8
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#9F2D6A
secondary
#6ABE91
accent
#DF8F49
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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