#9F1F83#9F1F83

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

Color values

HEX#9F1F83
RGBrgb(159, 31, 131)
HSLhsl(313, 67%, 37%)
HSVhsv(313, 81%, 62%)
CMYKcmyk(0%, 80.5%, 17.6%, 37.6%)
CIE-LABlab(37.83, 59.75, -25.26)
CIE-LCHlch(37.83, 64.87, 337.08°)
OKLaboklab(48.94% 0.1778 -0.0685)
OKLCHoklch(48.94% 0.191 338.9)
XYZxyz(18.8853, 9.9915, 22.4023)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F83 #1F9F3B
analogous
#7B1F9F #9F1F83 #9F1F43
triadic
#9F1F83 #839F1F #1F839F
tetradic
#9F1F83 #9F7B1F #1F9F3B #1F439F
square
#9F1F83 #9F7B1F #1F9F3B #1F439F
split-complementary
#9F1F83 #439F1F #1F9F7B
monochromatic
#390B2F #6C1559 #9F1F83 #D229AD #DF5AC2

Accessibility & contrast

On white

7.00
#9F1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F83
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F83#FFFFFF#000000##FFFFFF
##9F1F831.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1f83;
/* rgb */ color: rgb(159, 31, 131);
/* oklch */ color: oklch(48.9% 0.191 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ba7',
    500: '#9f1f83',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f83;
$custom-light: #bf6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f83",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 313.125,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.19053,
    "h": 338.9
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#9F1F83
secondary
#57C36F
accent
#EA633E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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