#9F1F41#9F1F41

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

Color values

HEX#9F1F41
RGBrgb(159, 31, 65)
HSLhsl(344, 67%, 37%)
HSVhsv(344, 81%, 62%)
CMYKcmyk(0%, 80.5%, 59.1%, 37.6%)
CIE-LABlab(35.47, 52.75, 13.24)
CIE-LCHlch(35.47, 54.38, 14.09°)
OKLaboklab(46.45% 0.1595 0.0329)
OKLCHoklch(46.45% 0.163 11.7)
XYZxyz(15.7438, 8.7349, 5.8570)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F41 #1F9F7D
analogous
#9F1F81 #9F1F41 #9F3D1F
triadic
#9F1F41 #419F1F #1F419F
tetradic
#9F1F41 #819F1F #1F9F7D #3D1F9F
square
#9F1F41 #819F1F #1F9F7D #3D1F9F
split-complementary
#9F1F41 #1F9F3D #1F819F
monochromatic
#390B17 #6C152C #9F1F41 #D22956 #DF5A7D

Accessibility & contrast

On white

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

On black

2.75
#9F1F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F1F41#FFFFFF#000000##FFFFFF
##9F1F411.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434341
Deuteranopia (green-blind)
#645D3E
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f41;
/* rgb */ color: rgb(159, 31, 65);
/* oklch */ color: oklch(46.5% 0.163 11.7);
Tailwind
colors: {
  custom: {
    50: '#c26875',
    500: '#9f1f41',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f41;
$custom-light: #c26875;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f41",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 344.063,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.16283,
    "h": 11.7
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#9F1F41
secondary
#57C3A6
accent
#EABC3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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