#9F1954#9F1954

#9F1954 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.172 H 0.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9F1954
RGBrgb(159, 25, 84)
HSLhsl(334, 73%, 36%)
HSVhsv(334, 84%, 62%)
CMYKcmyk(0%, 84.3%, 47.2%, 37.6%)
CIE-LABlab(35.42, 55.87, 0.85)
CIE-LCHlch(35.42, 55.87, 0.87°)
OKLaboklab(46.58% 0.1718 0.0028)
OKLCHoklch(46.58% 0.172 0.9)
XYZxyz(16.2473, 8.7085, 9.2112)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1954 #199F64
analogous
#9F1997 #9F1954 #9F2119
triadic
#9F1954 #549F19 #19549F
tetradic
#9F1954 #979F19 #199F64 #21199F
square
#9F1954 #979F19 #199F64 #21199F
split-complementary
#9F1954 #199F21 #19979F
monochromatic
#35081C #6A1138 #9F1954 #D42170 #E34F90

Accessibility & contrast

On white

7.66
#9F1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1954
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1954#FFFFFF#000000##FFFFFF
##9F19541.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4355
Deuteranopia (green-blind)
#5F5C51
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1954;
/* rgb */ color: rgb(159, 25, 84);
/* oklch */ color: oklch(46.6% 0.172 0.9);
Tailwind
colors: {
  custom: {
    50: '#c16783',
    500: '#9f1954',
    950: '#000000',
  },
}
SCSS
$custom: #9f1954;
$custom-light: #c16783;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1954",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 333.582,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4658,
    "c": 0.17181,
    "h": 0.9
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#9F1954
secondary
#4EC691
accent
#F09F38
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1954

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

Preview Lab → · Contrast checker → · Palette generator →

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