#9F2D7A#9F2D7A

#9F2D7A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.170 H 343.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9F2D7A
RGBrgb(159, 45, 122)
HSLhsl(319, 56%, 40%)
HSVhsv(319, 72%, 62%)
CMYKcmyk(0%, 71.7%, 23.3%, 37.6%)
CIE-LABlab(38.99, 54.03, -17.88)
CIE-LCHlch(38.99, 56.91, 341.69°)
OKLaboklab(49.65% 0.1628 -0.0477)
OKLCHoklch(49.65% 0.17 343.7)
XYZxyz(18.7500, 10.6548, 19.4777)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D7A #2D9F52
analogous
#8B2D9F #9F2D7A #9F2D41
triadic
#9F2D7A #7A9F2D #2D7A9F
tetradic
#9F2D7A #9F8B2D #2D9F52 #2D419F
square
#9F2D7A #9F8B2D #2D9F52 #2D419F
split-complementary
#9F2D7A #419F2D #2D9F8B
monochromatic
#401231 #6F2055 #9F2D7A #C9409D #D670B5

Accessibility & contrast

On white

6.71
#9F2D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D7A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D7A#FFFFFF#000000##FFFFFF
##9F2D7A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5B6377
Tritanopia (blue-blind)
#A92D4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2d7a;
/* rgb */ color: rgb(159, 45, 122);
/* oklch */ color: oklch(49.6% 0.170 343.7);
Tailwind
colors: {
  custom: {
    50: '#bf70a0',
    500: '#9f2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d7a;
$custom-light: #bf70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d7a",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 319.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.1696,
    "h": 343.7
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#9F2D7A
secondary
#6ABE85
accent
#DF7949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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