#9F1E87#9F1E87

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

Color values

HEX#9F1E87
RGBrgb(159, 30, 135)
HSLhsl(311, 68%, 37%)
HSVhsv(311, 81%, 62%)
CMYKcmyk(0%, 81.1%, 15.1%, 37.6%)
CIE-LABlab(37.93, 60.58, -27.57)
CIE-LCHlch(37.93, 66.56, 335.53°)
OKLaboklab(49.08% 0.179 -0.0751)
OKLCHoklch(49.08% 0.194 337.2)
XYZxyz(19.1359, 10.0506, 23.8491)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E87 #1E9F36
analogous
#771E9F #9F1E87 #9F1E46
triadic
#9F1E87 #879F1E #1E879F
tetradic
#9F1E87 #9F771E #1E9F36 #1E469F
square
#9F1E87 #9F771E #1E9F36 #1E469F
split-complementary
#9F1E87 #469F1E #1E9F77
monochromatic
#380B30 #6C145B #9F1E87 #D228B3 #DF58C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1E87#FFFFFF#000000##FFFFFF
##9F1E871.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)
#234D8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A82752
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1e87;
/* rgb */ color: rgb(159, 30, 135);
/* oklch */ color: oklch(49.1% 0.194 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf6baa',
    500: '#9f1e87',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e87;
$custom-light: #bf6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e87",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 311.163,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.19408,
    "h": 337.2
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#9F1E87
secondary
#56C36A
accent
#EB5D3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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