#9F2080#9F2080

#9F2080 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 340.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F2080
RGBrgb(159, 32, 128)
HSLhsl(315, 66%, 37%)
HSVhsv(315, 80%, 62%)
CMYKcmyk(0%, 79.9%, 19.5%, 37.6%)
CIE-LABlab(37.78, 59.06, -23.48)
CIE-LCHlch(37.78, 63.56, 338.32°)
OKLaboklab(48.86% 0.1766 -0.0634)
OKLCHoklch(48.86% 0.188 340.2)
XYZxyz(18.7114, 9.9644, 21.3558)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2080 #209F3F
analogous
#7F209F #9F2080 #9F2040
triadic
#9F2080 #809F20 #20809F
tetradic
#9F2080 #9F7F20 #209F3F #20409F
square
#9F2080 #9F7F20 #209F3F #20409F
split-complementary
#9F2080 #409F20 #209F7F
monochromatic
#390B2E #6C1657 #9F2080 #D22AA9 #DE5BBE

Accessibility & contrast

On white

7.02
#9F2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2080
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2080#FFFFFF#000000##FFFFFF
##9F20801.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#55607D
Tritanopia (blue-blind)
#A9254F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2080;
/* rgb */ color: rgb(159, 32, 128);
/* oklch */ color: oklch(48.9% 0.188 340.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ba5',
    500: '#9f2080',
    950: '#000000',
  },
}
SCSS
$custom: #9f2080;
$custom-light: #bf6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2080",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 314.646,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.18766,
    "h": 340.2
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#9F2080
secondary
#59C272
accent
#E9683E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2080

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

Preview Lab → · Contrast checker → · Palette generator →

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