#9F1F86#9F1F86

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

Color values

HEX#9F1F86
RGBrgb(159, 31, 134)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 81%, 62%)
CMYKcmyk(0%, 80.5%, 15.7%, 37.6%)
CIE-LABlab(37.97, 60.17, -26.89)
CIE-LCHlch(37.97, 65.91, 335.92°)
OKLaboklab(49.09% 0.1781 -0.0731)
OKLCHoklch(49.09% 0.193 337.7)
XYZxyz(19.0916, 10.0740, 23.4887)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F86 #1F9F38
analogous
#781F9F #9F1F86 #9F1F46
triadic
#9F1F86 #869F1F #1F869F
tetradic
#9F1F86 #9F781F #1F9F38 #1F469F
square
#9F1F86 #9F781F #1F9F38 #1F469F
split-complementary
#9F1F86 #469F1F #1F9F78
monochromatic
#390B30 #6C155B #9F1F86 #D229B1 #DF5AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1F86#FFFFFF#000000##FFFFFF
##9F1F861.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)
#254D89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A82852
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1f86;
/* rgb */ color: rgb(159, 31, 134);
/* oklch */ color: oklch(49.1% 0.193 337.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ba9',
    500: '#9f1f86',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f86;
$custom-light: #bf6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f86",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 311.719,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.19252,
    "h": 337.7
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#9F1F86
secondary
#57C36C
accent
#EA5F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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