#9F1F85#9F1F85

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

Color values

HEX#9F1F85
RGBrgb(159, 31, 133)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 81%, 62%)
CMYKcmyk(0%, 80.5%, 16.4%, 37.6%)
CIE-LABlab(37.93, 60.03, -26.35)
CIE-LCHlch(37.93, 65.56, 336.30°)
OKLaboklab(49.04% 0.178 -0.0716)
OKLCHoklch(49.04% 0.192 338.1)
XYZxyz(19.0222, 10.0462, 23.1231)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F85 #1F9F39
analogous
#791F9F #9F1F85 #9F1F45
triadic
#9F1F85 #859F1F #1F859F
tetradic
#9F1F85 #9F791F #1F9F39 #1F459F
square
#9F1F85 #9F791F #1F9F39 #1F459F
split-complementary
#9F1F85 #459F1F #1F9F79
monochromatic
#390B2F #6C155A #9F1F85 #D229B0 #DF5AC4

Accessibility & contrast

On white

6.98
#9F1F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1F85
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F85#FFFFFF#000000##FFFFFF
##9F1F851.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#536082
Tritanopia (blue-blind)
#A82751
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1f85;
/* rgb */ color: rgb(159, 31, 133);
/* oklch */ color: oklch(49.0% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ba9',
    500: '#9f1f85',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f85;
$custom-light: #bf6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f85",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 312.188,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.19185,
    "h": 338.1
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#9F1F85
secondary
#57C36D
accent
#EA613E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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