#9F2B71#9F2B71

#9F2B71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 348.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F2B71
RGBrgb(159, 43, 113)
HSLhsl(324, 57%, 40%)
HSVhsv(324, 73%, 62%)
CMYKcmyk(0%, 73%, 28.9%, 37.6%)
CIE-LABlab(38.36, 53.57, -13.22)
CIE-LCHlch(38.36, 55.18, 346.13°)
OKLaboklab(49.07% 0.163 -0.0348)
OKLCHoklch(49.07% 0.167 348)
XYZxyz(18.1435, 10.2929, 16.6508)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B71 #2B9F59
analogous
#932B9F #9F2B71 #9F2B37
triadic
#9F2B71 #719F2B #2B719F
tetradic
#9F2B71 #9F932B #2B9F59 #2B379F
square
#9F2B71 #9F932B #2B9F59 #2B379F
split-complementary
#9F2B71 #379F2B #2B9F93
monochromatic
#3F112D #6F1E4F #9F2B71 #CA3D92 #D76DAD

Accessibility & contrast

On white

6.87
#9F2B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2B71
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B71#FFFFFF#000000##FFFFFF
##9F2B711.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5D626E
Tritanopia (blue-blind)
#AA264A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2b71;
/* rgb */ color: rgb(159, 43, 113);
/* oklch */ color: oklch(49.1% 0.167 348.0);
Tailwind
colors: {
  custom: {
    50: '#bf6f99',
    500: '#9f2b71',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b71;
$custom-light: #bf6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b71",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 323.793,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49069,
    "c": 0.16668,
    "h": 348
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#9F2B71
secondary
#67BE8A
accent
#E18447
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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