#9F2B7D#9F2B7D

#9F2B7D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.174 H 342.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F2B7D
RGBrgb(159, 43, 125)
HSLhsl(318, 57%, 40%)
HSVhsv(318, 73%, 62%)
CMYKcmyk(0%, 73%, 21.4%, 37.6%)
CIE-LABlab(38.87, 55.16, -19.93)
CIE-LCHlch(38.87, 58.66, 340.13°)
OKLaboklab(49.6% 0.1655 -0.0535)
OKLCHoklch(49.6% 0.174 342.1)
XYZxyz(18.8642, 10.5812, 20.4470)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B7D #2B9F4D
analogous
#872B9F #9F2B7D #9F2B43
triadic
#9F2B7D #7D9F2B #2B7D9F
tetradic
#9F2B7D #9F872B #2B9F4D #2B439F
square
#9F2B7D #9F872B #2B9F4D #2B439F
split-complementary
#9F2B7D #439F2B #2B9F87
monochromatic
#3F1131 #6F1E57 #9F2B7D #CA3DA1 #D76DB8

Accessibility & contrast

On white

6.74
#9F2B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B7D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B7D#FFFFFF#000000##FFFFFF
##9F2B7D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5A627A
Tritanopia (blue-blind)
#A92C50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2b7d;
/* rgb */ color: rgb(159, 43, 125);
/* oklch */ color: oklch(49.6% 0.174 342.1);
Tailwind
colors: {
  custom: {
    50: '#bf6fa3',
    500: '#9f2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b7d;
$custom-light: #bf6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b7d",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 317.586,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.496,
    "c": 0.17396,
    "h": 342.1
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#9F2B7D
secondary
#67BE81
accent
#E17447
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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