#9F2B82#9F2B82

#9F2B82 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.177 H 339.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9F2B82
RGBrgb(159, 43, 130)
HSLhsl(315, 57%, 40%)
HSVhsv(315, 73%, 62%)
CMYKcmyk(0%, 73%, 18.2%, 37.6%)
CIE-LABlab(39.09, 55.87, -22.68)
CIE-LCHlch(39.09, 60.30, 337.91°)
OKLaboklab(49.84% 0.1664 -0.0612)
OKLCHoklch(49.84% 0.177 339.8)
XYZxyz(19.1917, 10.7122, 22.1717)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B82 #2B9F48
analogous
#822B9F #9F2B82 #9F2B48
triadic
#9F2B82 #829F2B #2B829F
tetradic
#9F2B82 #9F822B #2B9F48 #2B489F
square
#9F2B82 #9F822B #2B9F48 #2B489F
split-complementary
#9F2B82 #489F2B #2B9F82
monochromatic
#3F1133 #6F1E5B #9F2B82 #CA3DA7 #D76DBD

Accessibility & contrast

On white

6.68
#9F2B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B82
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B82#FFFFFF#000000##FFFFFF
##9F2B821.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#A82F53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2b82;
/* rgb */ color: rgb(159, 43, 130);
/* oklch */ color: oklch(49.8% 0.177 339.8);
Tailwind
colors: {
  custom: {
    50: '#bf6fa6',
    500: '#9f2b82',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b82;
$custom-light: #bf6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b82",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 315,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.17726,
    "h": 339.8
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#9F2B82
secondary
#67BE7D
accent
#E16E47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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