#9F2D80#9F2D80

#9F2D80 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.173 H 340.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2D80
RGBrgb(159, 45, 128)
HSLhsl(316, 56%, 40%)
HSVhsv(316, 72%, 62%)
CMYKcmyk(0%, 71.7%, 19.5%, 37.6%)
CIE-LABlab(39.26, 54.87, -21.19)
CIE-LCHlch(39.26, 58.82, 338.88°)
OKLaboklab(49.93% 0.1639 -0.057)
OKLCHoklch(49.93% 0.174 340.8)
XYZxyz(19.1333, 10.8081, 21.4964)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D80 #2D9F4C
analogous
#852D9F #9F2D80 #9F2D47
triadic
#9F2D80 #809F2D #2D809F
tetradic
#9F2D80 #9F852D #2D9F4C #2D479F
square
#9F2D80 #9F852D #2D9F4C #2D479F
split-complementary
#9F2D80 #479F2D #2D9F85
monochromatic
#401233 #6F205A #9F2D80 #C940A4 #D670BB

Accessibility & contrast

On white

6.64
#9F2D80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2D80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D80
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D80#FFFFFF#000000##FFFFFF
##9F2D801.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355182
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2d80;
/* rgb */ color: rgb(159, 45, 128);
/* oklch */ color: oklch(49.9% 0.173 340.8);
Tailwind
colors: {
  custom: {
    50: '#bf70a5',
    500: '#9f2d80',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d80;
$custom-light: #bf70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d80",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 316.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.1735,
    "h": 340.8
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#9F2D80
secondary
#6ABE81
accent
#DF7249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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