#9F2D6D#9F2D6D

#9F2D6D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.162 H 350.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2D6D
RGBrgb(159, 45, 109)
HSLhsl(326, 56%, 40%)
HSVhsv(326, 72%, 62%)
CMYKcmyk(0%, 71.7%, 31.4%, 37.6%)
CIE-LABlab(38.47, 52.33, -10.55)
CIE-LCHlch(38.47, 53.39, 348.60°)
OKLaboklab(49.1% 0.1597 -0.0275)
OKLCHoklch(49.1% 0.162 350.2)
XYZxyz(17.9977, 10.3538, 15.5157)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D6D #2D9F5F
analogous
#982D9F #9F2D6D #9F2D34
triadic
#9F2D6D #6D9F2D #2D6D9F
tetradic
#9F2D6D #9F982D #2D9F5F #2D349F
square
#9F2D6D #9F982D #2D9F5F #2D349F
split-complementary
#9F2D6D #349F2D #2D9F98
monochromatic
#40122C #6F204C #9F2D6D #C9408D #D670A9

Accessibility & contrast

On white

6.84
#9F2D6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F2D6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D6D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D6D#FFFFFF#000000##FFFFFF
##9F2D6D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#5F626A
Tritanopia (blue-blind)
#AB2649
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d6d;
/* rgb */ color: rgb(159, 45, 109);
/* oklch */ color: oklch(49.1% 0.162 350.2);
Tailwind
colors: {
  custom: {
    50: '#bf7096',
    500: '#9f2d6d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d6d;
$custom-light: #bf7096;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d6d",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 326.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.16205,
    "h": 350.2
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#9F2D6D
secondary
#6ABE8F
accent
#DF8B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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