#9F1958#9F1958

#9F1958 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 358.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9F1958
RGBrgb(159, 25, 88)
HSLhsl(332, 73%, 36%)
HSVhsv(332, 84%, 62%)
CMYKcmyk(0%, 84.3%, 44.7%, 37.6%)
CIE-LABlab(35.54, 56.24, -1.55)
CIE-LCHlch(35.54, 56.26, 358.42°)
OKLaboklab(46.71% 0.1731 -0.0034)
OKLCHoklch(46.71% 0.173 358.9)
XYZxyz(16.4085, 8.7730, 10.0599)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1958 #199F60
analogous
#9F199B #9F1958 #9F1D19
triadic
#9F1958 #589F19 #19589F
tetradic
#9F1958 #9B9F19 #199F60 #1D199F
square
#9F1958 #9B9F19 #199F60 #1D199F
split-complementary
#9F1958 #199F1D #199B9F
monochromatic
#35081D #6A113B #9F1958 #D42175 #E34F95

Accessibility & contrast

On white

7.62
#9F1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1958
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1958#FFFFFF#000000##FFFFFF
##9F19581.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1958;
/* rgb */ color: rgb(159, 25, 88);
/* oklch */ color: oklch(46.7% 0.173 358.9);
Tailwind
colors: {
  custom: {
    50: '#c16787',
    500: '#9f1958',
    950: '#000000',
  },
}
SCSS
$custom: #9f1958;
$custom-light: #c16787;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1958",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 331.791,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.17317,
    "h": 358.9
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#9F1958
secondary
#4EC68D
accent
#F09938
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1958

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

Preview Lab → · Contrast checker → · Palette generator →

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