#9F2880#9F2880

#9F2880 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.179 H 340.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2880
RGBrgb(159, 40, 128)
HSLhsl(316, 60%, 39%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 74.8%, 19.5%, 37.6%)
CIE-LABlab(38.64, 56.61, -22.15)
CIE-LCHlch(38.64, 60.79, 338.63°)
OKLaboklab(49.48% 0.1692 -0.0597)
OKLCHoklch(49.48% 0.179 340.6)
XYZxyz(18.9537, 10.4489, 21.4365)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2880 #289F47
analogous
#83289F #9F2880 #9F2845
triadic
#9F2880 #809F28 #28809F
tetradic
#9F2880 #9F8328 #289F47 #28459F
square
#9F2880 #9F8328 #289F47 #28459F
split-complementary
#9F2880 #459F28 #289F83
monochromatic
#3D0F31 #6E1C59 #9F2880 #CD37A6 #D968BC

Accessibility & contrast

On white

6.80
#9F2880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2880
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2880#FFFFFF#000000##FFFFFF
##9F28801.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F82
Deuteranopia (green-blind)
#57627D
Tritanopia (blue-blind)
#A92B51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2880;
/* rgb */ color: rgb(159, 40, 128);
/* oklch */ color: oklch(49.5% 0.179 340.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ea5',
    500: '#9f2880',
    950: '#000000',
  },
}
SCSS
$custom: #9f2880;
$custom-light: #bf6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2880",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 315.63,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.17939,
    "h": 340.6
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#9F2880
secondary
#64BF7B
accent
#E36E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2880

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

Preview Lab → · Contrast checker → · Palette generator →

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