#9F2D7B#9F2D7B

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

Color values

HEX#9F2D7B
RGBrgb(159, 45, 123)
HSLhsl(319, 56%, 40%)
HSVhsv(319, 72%, 62%)
CMYKcmyk(0%, 71.7%, 22.6%, 37.6%)
CIE-LABlab(39.04, 54.16, -18.43)
CIE-LCHlch(39.04, 57.21, 341.21°)
OKLaboklab(49.69% 0.1629 -0.0493)
OKLCHoklch(49.69% 0.17 343.2)
XYZxyz(18.8123, 10.6797, 19.8057)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D7B #2D9F51
analogous
#8A2D9F #9F2D7B #9F2D42
triadic
#9F2D7B #7B9F2D #2D7B9F
tetradic
#9F2D7B #9F8A2D #2D9F51 #2D429F
square
#9F2D7B #9F8A2D #2D9F51 #2D429F
split-complementary
#9F2D7B #429F2D #2D9F8A
monochromatic
#401231 #6F2056 #9F2D7B #C9409E #D670B6

Accessibility & contrast

On white

6.70
#9F2D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D7B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D7B#FFFFFF#000000##FFFFFF
##9F2D7B1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A92D50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2d7b;
/* rgb */ color: rgb(159, 45, 123);
/* oklch */ color: oklch(49.7% 0.170 343.2);
Tailwind
colors: {
  custom: {
    50: '#bf70a1',
    500: '#9f2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d7b;
$custom-light: #bf70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d7b",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 318.947,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49694,
    "c": 0.17023,
    "h": 343.2
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#9F2D7B
secondary
#6ABE84
accent
#DF7849
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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