#9F1E7E#9F1E7E

#9F1E7E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.188 H 341.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9F1E7E
RGBrgb(159, 30, 126)
HSLhsl(315, 68%, 37%)
HSVhsv(315, 81%, 62%)
CMYKcmyk(0%, 81.1%, 20.8%, 37.6%)
CIE-LABlab(37.50, 59.33, -22.68)
CIE-LCHlch(37.50, 63.52, 339.08°)
OKLaboklab(48.62% 0.178 -0.0611)
OKLCHoklch(48.62% 0.188 341)
XYZxyz(18.5289, 9.8078, 20.6519)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E7E #1E9F3F
analogous
#801E9F #9F1E7E #9F1E3D
triadic
#9F1E7E #7E9F1E #1E7E9F
tetradic
#9F1E7E #9F801E #1E9F3F #1E3D9F
square
#9F1E7E #9F801E #1E9F3F #1E3D9F
split-complementary
#9F1E7E #3D9F1E #1E9F80
monochromatic
#380B2C #6C1455 #9F1E7E #D228A7 #DF58BD

Accessibility & contrast

On white

7.09
#9F1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E7E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E7E#FFFFFF#000000##FFFFFF
##9F1E7E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A9224D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1e7e;
/* rgb */ color: rgb(159, 30, 126);
/* oklch */ color: oklch(48.6% 0.188 341.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aa3',
    500: '#9f1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e7e;
$custom-light: #bf6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e7e",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 315.349,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.18822,
    "h": 341
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#9F1E7E
secondary
#56C372
accent
#EB693D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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