#9F1F4E#9F1F4E

#9F1F4E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 4.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9F1F4E
RGBrgb(159, 31, 78)
HSLhsl(338, 67%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 80.5%, 50.9%, 37.6%)
CIE-LABlab(35.80, 53.76, 5.28)
CIE-LCHlch(35.80, 54.02, 5.61°)
OKLaboklab(46.8% 0.1645 0.014)
OKLCHoklch(46.8% 0.165 4.8)
XYZxyz(16.1647, 8.9032, 8.0736)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F4E #1F9F70
analogous
#9F1F8E #9F1F4E #9F301F
triadic
#9F1F4E #4E9F1F #1F4E9F
tetradic
#9F1F4E #8E9F1F #1F9F70 #301F9F
square
#9F1F4E #8E9F1F #1F9F70 #301F9F
split-complementary
#9F1F4E #1F9F30 #1F8E9F
monochromatic
#390B1C #6C1535 #9F1F4E #D22967 #DF5A8B

Accessibility & contrast

On white

7.55
#9F1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F4E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F4E#FFFFFF#000000##FFFFFF
##9F1F4E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AE0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f4e;
/* rgb */ color: rgb(159, 31, 78);
/* oklch */ color: oklch(46.8% 0.165 4.8);
Tailwind
colors: {
  custom: {
    50: '#c1697f',
    500: '#9f1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f4e;
$custom-light: #c1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f4e",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 337.969,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.16511,
    "h": 4.8
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#9F1F4E
secondary
#57C39B
accent
#EAAB3E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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