#9F1657#9F1657

#9F1657 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.175 H 359.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9F1657
RGBrgb(159, 22, 87)
HSLhsl(332, 76%, 35%)
HSVhsv(332, 86%, 62%)
CMYKcmyk(0%, 86.2%, 45.3%, 37.6%)
CIE-LABlab(35.27, 56.83, -1.30)
CIE-LCHlch(35.27, 56.84, 358.69°)
OKLaboklab(46.51% 0.175 -0.0027)
OKLCHoklch(46.51% 0.175 359.1)
XYZxyz(16.3066, 8.6351, 9.8231)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1657 #169F5E
analogous
#9F169B #9F1657 #9F1916
triadic
#9F1657 #579F16 #16579F
tetradic
#9F1657 #9B9F16 #169F5E #19169F
square
#9F1657 #9B9F16 #169F5E #19169F
split-complementary
#9F1657 #169F19 #169B9F
monochromatic
#33071C #690F3A #9F1657 #D51D74 #E64A94

Accessibility & contrast

On white

7.70
#9F1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1657
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1657#FFFFFF#000000##FFFFFF
##9F16571.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1657;
/* rgb */ color: rgb(159, 22, 87);
/* oklch */ color: oklch(46.5% 0.175 359.1);
Tailwind
colors: {
  custom: {
    50: '#c16686',
    500: '#9f1657',
    950: '#000000',
  },
}
SCSS
$custom: #9f1657;
$custom-light: #c16686;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1657",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 331.533,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.17504,
    "h": 359.1
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#9F1657
secondary
#4AC78C
accent
#F29936
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1657

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

Preview Lab → · Contrast checker → · Palette generator →

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