#9F2F82#9F2F82

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

Color values

HEX#9F2F82
RGBrgb(159, 47, 130)
HSLhsl(316, 54%, 40%)
HSVhsv(316, 70%, 62%)
CMYKcmyk(0%, 70.4%, 18.2%, 37.6%)
CIE-LABlab(39.61, 54.41, -21.87)
CIE-LCHlch(39.61, 58.64, 338.10°)
OKLaboklab(50.21% 0.1619 -0.059)
OKLCHoklch(50.21% 0.172 340)
XYZxyz(19.3443, 11.0175, 22.2226)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F82 #2F9F4C
analogous
#842F9F #9F2F82 #9F2F4A
triadic
#9F2F82 #829F2F #2F829F
tetradic
#9F2F82 #9F842F #2F9F4C #2F4A9F
square
#9F2F82 #9F842F #2F9F4C #2F4A9F
split-complementary
#9F2F82 #4A9F2F #2F9F84
monochromatic
#411335 #70215B #9F2F82 #C844A5 #D673BC

Accessibility & contrast

On white

6.56
#9F2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2F82
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F82#FFFFFF#000000##FFFFFF
##9F2F821.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#59647F
Tritanopia (blue-blind)
#A83254
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2f82;
/* rgb */ color: rgb(159, 47, 130);
/* oklch */ color: oklch(50.2% 0.172 340.0);
Tailwind
colors: {
  custom: {
    50: '#bf71a6',
    500: '#9f2f82',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f82;
$custom-light: #bf71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f82",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 315.536,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.17235,
    "h": 340
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#9F2F82
secondary
#6DBD81
accent
#DE704A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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