#9F2082#9F2082

#9F2082 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.189 H 339.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F2082
RGBrgb(159, 32, 130)
HSLhsl(314, 66%, 37%)
HSVhsv(314, 80%, 62%)
CMYKcmyk(0%, 79.9%, 18.2%, 37.6%)
CIE-LABlab(37.87, 59.34, -24.57)
CIE-LCHlch(37.87, 64.22, 337.50°)
OKLaboklab(48.96% 0.1769 -0.0665)
OKLCHoklch(48.96% 0.189 339.4)
XYZxyz(18.8444, 10.0176, 22.0559)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2082 #209F3D
analogous
#7D209F #9F2082 #9F2042
triadic
#9F2082 #829F20 #20829F
tetradic
#9F2082 #9F7D20 #209F3D #20429F
square
#9F2082 #9F7D20 #209F3D #20429F
split-complementary
#9F2082 #429F20 #209F7D
monochromatic
#390B2F #6C1658 #9F2082 #D22AAC #DE5BC0

Accessibility & contrast

On white

6.99
#9F2082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9F2082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2082
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2082#FFFFFF#000000##FFFFFF
##9F20821.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C85
Deuteranopia (green-blind)
#54607F
Tritanopia (blue-blind)
#A92650
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2082;
/* rgb */ color: rgb(159, 32, 130);
/* oklch */ color: oklch(49.0% 0.189 339.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ba6',
    500: '#9f2082',
    950: '#000000',
  },
}
SCSS
$custom: #9f2082;
$custom-light: #bf6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2082",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 313.701,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.18895,
    "h": 339.4
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#9F2082
secondary
#59C271
accent
#E9653E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2082

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

Preview Lab → · Contrast checker → · Palette generator →

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