#9F1E88#9F1E88

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

Color values

HEX#9F1E88
RGBrgb(159, 30, 136)
HSLhsl(311, 68%, 37%)
HSVhsv(311, 81%, 62%)
CMYKcmyk(0%, 81.1%, 14.5%, 37.6%)
CIE-LABlab(37.98, 60.72, -28.11)
CIE-LCHlch(37.98, 66.91, 335.16°)
OKLaboklab(49.13% 0.179 -0.0766)
OKLCHoklch(49.13% 0.195 336.8)
XYZxyz(19.2067, 10.0789, 24.2217)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E88 #1E9F35
analogous
#761E9F #9F1E88 #9F1E47
triadic
#9F1E88 #889F1E #1E889F
tetradic
#9F1E88 #9F761E #1E9F35 #1E479F
square
#9F1E88 #9F761E #1E9F35 #1E479F
split-complementary
#9F1E88 #479F1E #1E9F76
monochromatic
#380B30 #6C145C #9F1E88 #D228B4 #DF58C7

Accessibility & contrast

On white

6.96
#9F1E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F1E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E88
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E88#FFFFFF#000000##FFFFFF
##9F1E881.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#516085
Tritanopia (blue-blind)
#A82853
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1e88;
/* rgb */ color: rgb(159, 30, 136);
/* oklch */ color: oklch(49.1% 0.195 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bab',
    500: '#9f1e88',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e88;
$custom-light: #bf6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e88",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 310.698,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.19476,
    "h": 336.8
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#9F1E88
secondary
#56C369
accent
#EB5C3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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