#9F1F45#9F1F45

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

Color values

HEX#9F1F45
RGBrgb(159, 31, 69)
HSLhsl(342, 67%, 37%)
HSVhsv(342, 81%, 62%)
CMYKcmyk(0%, 80.5%, 56.6%, 37.6%)
CIE-LABlab(35.56, 53.04, 10.78)
CIE-LCHlch(35.56, 54.12, 11.49°)
OKLaboklab(46.55% 0.1611 0.0272)
OKLCHoklch(46.55% 0.163 9.6)
XYZxyz(15.8638, 8.7829, 6.4890)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F45 #1F9F79
analogous
#9F1F85 #9F1F45 #9F391F
triadic
#9F1F45 #459F1F #1F459F
tetradic
#9F1F45 #859F1F #1F9F79 #391F9F
square
#9F1F45 #859F1F #1F9F79 #391F9F
split-complementary
#9F1F45 #1F9F39 #1F859F
monochromatic
#390B19 #6C152F #9F1F45 #D2295B #DF5A81

Accessibility & contrast

On white

7.62
#9F1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1F45
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F45#FFFFFF#000000##FFFFFF
##9F1F451.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#635D42
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1f45;
/* rgb */ color: rgb(159, 31, 69);
/* oklch */ color: oklch(46.6% 0.163 9.6);
Tailwind
colors: {
  custom: {
    50: '#c26978',
    500: '#9f1f45',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f45;
$custom-light: #c26978;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f45",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 342.188,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.16334,
    "h": 9.6
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#9F1F45
secondary
#57C3A3
accent
#EAB73E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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