#9F1F40#9F1F40

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

Color values

HEX#9F1F40
RGBrgb(159, 31, 64)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 81%, 62%)
CMYKcmyk(0%, 80.5%, 59.7%, 37.6%)
CIE-LABlab(35.45, 52.68, 13.86)
CIE-LCHlch(35.45, 54.47, 14.74°)
OKLaboklab(46.43% 0.1591 0.0343)
OKLCHoklch(46.43% 0.163 12.2)
XYZxyz(15.7151, 8.7234, 5.7058)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F40 #1F9F7E
analogous
#9F1F80 #9F1F40 #9F3E1F
triadic
#9F1F40 #409F1F #1F409F
tetradic
#9F1F40 #809F1F #1F9F7E #3E1F9F
square
#9F1F40 #809F1F #1F9F7E #3E1F9F
split-complementary
#9F1F40 #1F9F3E #1F809F
monochromatic
#390B17 #6C152B #9F1F40 #D22955 #DF5A7C

Accessibility & contrast

On white

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

On black

2.74
#9F1F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F1F40#FFFFFF#000000##FFFFFF
##9F1F401.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f40;
/* rgb */ color: rgb(159, 31, 64);
/* oklch */ color: oklch(46.4% 0.163 12.2);
Tailwind
colors: {
  custom: {
    50: '#c26874',
    500: '#9f1f40',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f40;
$custom-light: #c26874;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f40",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 344.531,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46429,
    "c": 0.16272,
    "h": 12.2
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#9F1F40
secondary
#57C3A7
accent
#EABE3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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