#9F1F84#9F1F84

#9F1F84 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.191 H 338.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F1F84
RGBrgb(159, 31, 132)
HSLhsl(313, 67%, 37%)
HSVhsv(313, 81%, 62%)
CMYKcmyk(0%, 80.5%, 17%, 37.6%)
CIE-LABlab(37.88, 59.89, -25.81)
CIE-LCHlch(37.88, 65.21, 336.69°)
OKLaboklab(48.99% 0.1779 -0.07)
OKLCHoklch(48.99% 0.191 338.5)
XYZxyz(18.9534, 10.0187, 22.7610)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F84 #1F9F3A
analogous
#7A1F9F #9F1F84 #9F1F44
triadic
#9F1F84 #849F1F #1F849F
tetradic
#9F1F84 #9F7A1F #1F9F3A #1F449F
square
#9F1F84 #9F7A1F #1F9F3A #1F449F
split-complementary
#9F1F84 #449F1F #1F9F7A
monochromatic
#390B2F #6C1559 #9F1F84 #D229AF #DF5AC3

Accessibility & contrast

On white

6.99
#9F1F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9F1F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1F84
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F84#FFFFFF#000000##FFFFFF
##9F1F841.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#536081
Tritanopia (blue-blind)
#A82650
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1f84;
/* rgb */ color: rgb(159, 31, 132);
/* oklch */ color: oklch(49.0% 0.191 338.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ba8',
    500: '#9f1f84',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f84;
$custom-light: #bf6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f84",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 312.656,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.19119,
    "h": 338.5
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#9F1F84
secondary
#57C36E
accent
#EA623E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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