#9F1F80#9F1F80

#9F1F80 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.189 H 340.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F1F80
RGBrgb(159, 31, 128)
HSLhsl(315, 67%, 37%)
HSVhsv(315, 81%, 62%)
CMYKcmyk(0%, 80.5%, 19.5%, 37.6%)
CIE-LABlab(37.68, 59.34, -23.63)
CIE-LCHlch(37.68, 63.87, 338.29°)
OKLaboklab(48.79% 0.1774 -0.0638)
OKLCHoklch(48.79% 0.189 340.2)
XYZxyz(18.6849, 9.9113, 21.3469)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F80 #1F9F3E
analogous
#7E1F9F #9F1F80 #9F1F40
triadic
#9F1F80 #809F1F #1F809F
tetradic
#9F1F80 #9F7E1F #1F9F3E #1F409F
square
#9F1F80 #9F7E1F #1F9F3E #1F409F
split-complementary
#9F1F80 #409F1F #1F9F7E
monochromatic
#390B2E #6C1557 #9F1F80 #D229A9 #DF5ABF

Accessibility & contrast

On white

7.04
#9F1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F80
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F80#FFFFFF#000000##FFFFFF
##9F1F801.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1f80;
/* rgb */ color: rgb(159, 31, 128);
/* oklch */ color: oklch(48.8% 0.189 340.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ba5',
    500: '#9f1f80',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f80;
$custom-light: #bf6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f80",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 314.531,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.18858,
    "h": 340.2
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#9F1F80
secondary
#57C371
accent
#EA673E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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