#9F2F81#9F2F81

#9F2F81 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.172 H 340.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9F2F81
RGBrgb(159, 47, 129)
HSLhsl(316, 54%, 40%)
HSVhsv(316, 70%, 62%)
CMYKcmyk(0%, 70.4%, 18.9%, 37.6%)
CIE-LABlab(39.56, 54.27, -21.33)
CIE-LCHlch(39.56, 58.31, 338.54°)
OKLaboklab(50.17% 0.1618 -0.0574)
OKLCHoklch(50.17% 0.172 340.4)
XYZxyz(19.2776, 10.9908, 21.8708)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F81 #2F9F4D
analogous
#852F9F #9F2F81 #9F2F49
triadic
#9F2F81 #819F2F #2F819F
tetradic
#9F2F81 #9F852F #2F9F4D #2F499F
square
#9F2F81 #9F852F #2F9F4D #2F499F
split-complementary
#9F2F81 #499F2F #2F9F85
monochromatic
#411334 #70215B #9F2F81 #C844A4 #D673BB

Accessibility & contrast

On white

6.57
#9F2F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F2F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F81
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F81#FFFFFF#000000##FFFFFF
##9F2F811.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#5A647E
Tritanopia (blue-blind)
#A83254
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2f81;
/* rgb */ color: rgb(159, 47, 129);
/* oklch */ color: oklch(50.2% 0.172 340.4);
Tailwind
colors: {
  custom: {
    50: '#bf71a5',
    500: '#9f2f81',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f81;
$custom-light: #bf71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f81",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 316.071,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.17167,
    "h": 340.4
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#9F2F81
secondary
#6DBD82
accent
#DE724A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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