#9F1951#9F1951

#9F1951 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 2.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9F1951
RGBrgb(159, 25, 81)
HSLhsl(335, 73%, 36%)
HSVhsv(335, 84%, 62%)
CMYKcmyk(0%, 84.3%, 49.1%, 37.6%)
CIE-LABlab(35.33, 55.60, 2.66)
CIE-LCHlch(35.33, 55.67, 2.74°)
OKLaboklab(46.48% 0.1707 0.0074)
OKLCHoklch(46.48% 0.171 2.5)
XYZxyz(16.1323, 8.6625, 8.6055)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1951 #199F67
analogous
#9F1994 #9F1951 #9F2419
triadic
#9F1951 #519F19 #19519F
tetradic
#9F1951 #949F19 #199F67 #24199F
square
#9F1951 #949F19 #199F67 #24199F
split-complementary
#9F1951 #199F24 #19949F
monochromatic
#35081B #6A1136 #9F1951 #D4216C #E34F8D

Accessibility & contrast

On white

7.69
#9F1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1951
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1951#FFFFFF#000000##FFFFFF
##9F19511.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4352
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1951;
/* rgb */ color: rgb(159, 25, 81);
/* oklch */ color: oklch(46.5% 0.171 2.5);
Tailwind
colors: {
  custom: {
    50: '#c16781',
    500: '#9f1951',
    950: '#000000',
  },
}
SCSS
$custom: #9f1951;
$custom-light: #c16781;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1951",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 334.925,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46484,
    "c": 0.1709,
    "h": 2.5
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#9F1951
secondary
#4EC694
accent
#F0A338
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1951

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

Preview Lab → · Contrast checker → · Palette generator →

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