#9F1955#9F1955

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

Color values

HEX#9F1955
RGBrgb(159, 25, 85)
HSLhsl(333, 73%, 36%)
HSVhsv(333, 84%, 62%)
CMYKcmyk(0%, 84.3%, 46.5%, 37.6%)
CIE-LABlab(35.45, 55.96, 0.25)
CIE-LCHlch(35.45, 55.96, 0.26°)
OKLaboklab(46.61% 0.1721 0.0013)
OKLCHoklch(46.61% 0.172 0.4)
XYZxyz(16.2868, 8.7243, 9.4189)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1955 #199F63
analogous
#9F1998 #9F1955 #9F2019
triadic
#9F1955 #559F19 #19559F
tetradic
#9F1955 #989F19 #199F63 #20199F
square
#9F1955 #989F19 #199F63 #20199F
split-complementary
#9F1955 #199F20 #19989F
monochromatic
#35081C #6A1139 #9F1955 #D42171 #E34F91

Accessibility & contrast

On white

7.65
#9F1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1955
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1955#FFFFFF#000000##FFFFFF
##9F19551.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1955;
/* rgb */ color: rgb(159, 25, 85);
/* oklch */ color: oklch(46.6% 0.172 0.4);
Tailwind
colors: {
  custom: {
    50: '#c16784',
    500: '#9f1955',
    950: '#000000',
  },
}
SCSS
$custom: #9f1955;
$custom-light: #c16784;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1955",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 333.134,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.17214,
    "h": 0.4
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#9F1955
secondary
#4EC690
accent
#F09D38
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1955

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

Preview Lab → · Contrast checker → · Palette generator →

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