#9F1F89#9F1F89

#9F1F89 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.195 H 336.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F1F89
RGBrgb(159, 31, 137)
HSLhsl(310, 67%, 37%)
HSVhsv(310, 81%, 62%)
CMYKcmyk(0%, 80.5%, 13.8%, 37.6%)
CIE-LABlab(38.13, 60.60, -28.50)
CIE-LCHlch(38.13, 66.97, 334.81°)
OKLaboklab(49.25% 0.1783 -0.0777)
OKLCHoklch(49.25% 0.195 336.4)
XYZxyz(19.3038, 10.1589, 24.6063)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F89 #1F9F35
analogous
#751F9F #9F1F89 #9F1F49
triadic
#9F1F89 #899F1F #1F899F
tetradic
#9F1F89 #9F751F #1F9F35 #1F499F
square
#9F1F89 #9F751F #1F9F35 #1F499F
split-complementary
#9F1F89 #499F1F #1F9F75
monochromatic
#390B31 #6C155D #9F1F89 #D229B5 #DF5AC8

Accessibility & contrast

On white

6.93
#9F1F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1F89
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F89#FFFFFF#000000##FFFFFF
##9F1F891.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#516086
Tritanopia (blue-blind)
#A82953
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1f89;
/* rgb */ color: rgb(159, 31, 137);
/* oklch */ color: oklch(49.3% 0.195 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf6bac',
    500: '#9f1f89',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f89;
$custom-light: #bf6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f89",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 310.313,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49251,
    "c": 0.19454,
    "h": 336.4
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#9F1F89
secondary
#57C36A
accent
#EA5B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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