#9F2D6B#9F2D6B

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

Color values

HEX#9F2D6B
RGBrgb(159, 45, 107)
HSLhsl(327, 56%, 40%)
HSVhsv(327, 72%, 62%)
CMYKcmyk(0%, 71.7%, 32.7%, 37.6%)
CIE-LABlab(38.40, 52.09, -9.41)
CIE-LCHlch(38.40, 52.93, 349.76°)
OKLaboklab(49.02% 0.1592 -0.0244)
OKLCHoklch(49.02% 0.161 351.3)
XYZxyz(17.8913, 10.3113, 14.9551)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D6B #2D9F61
analogous
#9A2D9F #9F2D6B #9F2D32
triadic
#9F2D6B #6B9F2D #2D6B9F
tetradic
#9F2D6B #9F9A2D #2D9F61 #2D329F
square
#9F2D6B #9F9A2D #2D9F61 #2D329F
split-complementary
#9F2D6B #329F2D #2D9F9A
monochromatic
#40122B #6F204B #9F2D6B #C9408B #D670A8

Accessibility & contrast

On white

6.86
#9F2D6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2D6B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D6B#FFFFFF#000000##FFFFFF
##9F2D6B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AB2648
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2d6b;
/* rgb */ color: rgb(159, 45, 107);
/* oklch */ color: oklch(49.0% 0.161 351.3);
Tailwind
colors: {
  custom: {
    50: '#bf7095',
    500: '#9f2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d6b;
$custom-light: #bf7095;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d6b",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 327.368,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.16101,
    "h": 351.3
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#9F2D6B
secondary
#6ABE90
accent
#DF8D49
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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