#9F1E71#9F1E71

#9F1E71 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.180 H 346.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9F1E71
RGBrgb(159, 30, 113)
HSLhsl(321, 68%, 37%)
HSVhsv(321, 81%, 62%)
CMYKcmyk(0%, 81.1%, 28.9%, 37.6%)
CIE-LABlab(36.92, 57.67, -15.43)
CIE-LCHlch(36.92, 59.70, 345.02°)
OKLaboklab(48.02% 0.1758 -0.0408)
OKLCHoklch(48.02% 0.18 346.9)
XYZxyz(17.7439, 9.4938, 16.5176)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E71 #1E9F4C
analogous
#8C1E9F #9F1E71 #9F1E31
triadic
#9F1E71 #719F1E #1E719F
tetradic
#9F1E71 #9F8C1E #1E9F4C #1E319F
square
#9F1E71 #9F8C1E #1E9F4C #1E319F
split-complementary
#9F1E71 #319F1E #1E9F8C
monochromatic
#380B28 #6C144C #9F1E71 #D22896 #DF58AF

Accessibility & contrast

On white

7.25
#9F1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E71
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E71#FFFFFF#000000##FFFFFF
##9F1E711.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#AB1846
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1e71;
/* rgb */ color: rgb(159, 30, 113);
/* oklch */ color: oklch(48.0% 0.180 346.9);
Tailwind
colors: {
  custom: {
    50: '#c06a9a',
    500: '#9f1e71',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e71;
$custom-light: #c06a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e71",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 321.395,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.18047,
    "h": 346.9
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#9F1E71
secondary
#56C37D
accent
#EB7B3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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