#9F2F84#9F2F84

#9F2F84 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.174 H 339.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9F2F84
RGBrgb(159, 47, 132)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 70%, 62%)
CMYKcmyk(0%, 70.4%, 17%, 37.6%)
CIE-LABlab(39.70, 54.70, -22.97)
CIE-LCHlch(39.70, 59.33, 337.23°)
OKLaboklab(50.31% 0.1623 -0.0621)
OKLCHoklch(50.31% 0.174 339.1)
XYZxyz(19.4799, 11.0717, 22.9365)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F84 #2F9F4A
analogous
#822F9F #9F2F84 #9F2F4C
triadic
#9F2F84 #849F2F #2F849F
tetradic
#9F2F84 #9F822F #2F9F4A #2F4C9F
square
#9F2F84 #9F822F #2F9F4A #2F4C9F
split-complementary
#9F2F84 #4C9F2F #2F9F82
monochromatic
#411336 #70215D #9F2F84 #C844A8 #D673BE

Accessibility & contrast

On white

6.53
#9F2F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F2F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F84
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F84#FFFFFF#000000##FFFFFF
##9F2F841.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#A83355
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2f84;
/* rgb */ color: rgb(159, 47, 132);
/* oklch */ color: oklch(50.3% 0.174 339.1);
Tailwind
colors: {
  custom: {
    50: '#bf71a8',
    500: '#9f2f84',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f84;
$custom-light: #bf71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f84",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 314.464,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.17373,
    "h": 339.1
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#9F2F84
secondary
#6DBD80
accent
#DE6E4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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