#9F1F48#9F1F48

#9F1F48 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 8.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9F1F48
RGBrgb(159, 31, 72)
HSLhsl(341, 67%, 37%)
HSVhsv(341, 81%, 62%)
CMYKcmyk(0%, 80.5%, 54.7%, 37.6%)
CIE-LABlab(35.64, 53.27, 8.94)
CIE-LCHlch(35.64, 54.01, 9.53°)
OKLaboklab(46.63% 0.1622 0.0229)
OKLCHoklch(46.63% 0.164 8)
XYZxyz(15.9593, 8.8211, 6.9919)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F48 #1F9F76
analogous
#9F1F88 #9F1F48 #9F361F
triadic
#9F1F48 #489F1F #1F489F
tetradic
#9F1F48 #889F1F #1F9F76 #361F9F
square
#9F1F48 #889F1F #1F9F76 #361F9F
split-complementary
#9F1F48 #1F9F36 #1F889F
monochromatic
#390B1A #6C1531 #9F1F48 #D2295F #DF5A84

Accessibility & contrast

On white

7.60
#9F1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F48
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F48#FFFFFF#000000##FFFFFF
##9F1F481.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424349
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f48;
/* rgb */ color: rgb(159, 31, 72);
/* oklch */ color: oklch(46.6% 0.164 8.0);
Tailwind
colors: {
  custom: {
    50: '#c2697a',
    500: '#9f1f48',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f48;
$custom-light: #c2697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f48",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 340.781,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.16383,
    "h": 8
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#9F1F48
secondary
#57C3A0
accent
#EAB33E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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