#9F2280#9F2280

#9F2280 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.186 H 340.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2280
RGBrgb(159, 34, 128)
HSLhsl(315, 65%, 38%)
HSVhsv(315, 79%, 62%)
CMYKcmyk(0%, 78.6%, 19.5%, 37.6%)
CIE-LABlab(37.98, 58.49, -23.17)
CIE-LCHlch(37.98, 62.91, 338.39°)
OKLaboklab(49% 0.1749 -0.0626)
OKLCHoklch(49% 0.186 340.3)
XYZxyz(18.7670, 10.0754, 21.3743)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2280 #229F41
analogous
#7F229F #9F2280 #9F2241
triadic
#9F2280 #809F22 #22809F
tetradic
#9F2280 #9F7F22 #229F41 #22419F
square
#9F2280 #9F7F22 #229F41 #22419F
split-complementary
#9F2280 #419F22 #229F7F
monochromatic
#3A0C2F #6D1757 #9F2280 #D12DA9 #DD5FBD

Accessibility & contrast

On white

6.97
#9F2280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F2280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2280
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2280#FFFFFF#000000##FFFFFF
##9F22801.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2280;
/* rgb */ color: rgb(159, 34, 128);
/* oklch */ color: oklch(49.0% 0.186 340.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ca5',
    500: '#9f2280',
    950: '#000000',
  },
}
SCSS
$custom: #9f2280;
$custom-light: #bf6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2280",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 314.88,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.18573,
    "h": 340.3
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#9F2280
secondary
#5BC175
accent
#E86A40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2280

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

Preview Lab → · Contrast checker → · Palette generator →

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