#9F1E6C#9F1E6C

#9F1E6C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 349.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9F1E6C
RGBrgb(159, 30, 108)
HSLhsl(324, 68%, 37%)
HSVhsv(324, 81%, 62%)
CMYKcmyk(0%, 81.1%, 32.1%, 37.6%)
CIE-LABlab(36.71, 57.07, -12.58)
CIE-LCHlch(36.71, 58.44, 347.57°)
OKLaboklab(47.8% 0.1747 -0.0329)
OKLCHoklch(47.8% 0.178 349.3)
XYZxyz(17.4701, 9.3843, 15.0758)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E6C #1E9F51
analogous
#921E9F #9F1E6C #9F1E2C
triadic
#9F1E6C #6C9F1E #1E6C9F
tetradic
#9F1E6C #9F921E #1E9F51 #1E2C9F
square
#9F1E6C #9F921E #1E9F51 #1E2C9F
split-complementary
#9F1E6C #2C9F1E #1E9F92
monochromatic
#380B26 #6C1449 #9F1E6C #D2288F #DF58AA

Accessibility & contrast

On white

7.30
#9F1E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F1E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E6C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E6C#FFFFFF#000000##FFFFFF
##9F1E6C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486E
Deuteranopia (green-blind)
#5B5E69
Tritanopia (blue-blind)
#AB1443
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1e6c;
/* rgb */ color: rgb(159, 30, 108);
/* oklch */ color: oklch(47.8% 0.178 349.3);
Tailwind
colors: {
  custom: {
    50: '#c06a96',
    500: '#9f1e6c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e6c;
$custom-light: #c06a96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e6c",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 108
  },
  "hsl": {
    "h": 323.721,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.17778,
    "h": 349.3
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#9F1E6C
secondary
#56C381
accent
#EB823D
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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