#9F1A42#9F1A42

#9F1A42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 10.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9F1A42
RGBrgb(159, 26, 66)
HSLhsl(342, 72%, 36%)
HSVhsv(342, 84%, 62%)
CMYKcmyk(0%, 83.6%, 58.5%, 37.6%)
CIE-LABlab(35.01, 54.18, 11.97)
CIE-LCHlch(35.01, 55.48, 12.46°)
OKLaboklab(46.13% 0.1643 0.03)
OKLCHoklch(46.13% 0.167 10.3)
XYZxyz(15.6524, 8.5054, 5.9707)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A42 #1A9F77
analogous
#9F1A85 #9F1A42 #9F351A
triadic
#9F1A42 #429F1A #1A429F
tetradic
#9F1A42 #859F1A #1A9F77 #351A9F
square
#9F1A42 #859F1A #1A9F77 #351A9F
split-complementary
#9F1A42 #1A9F35 #1A859F
monochromatic
#360916 #6A112C #9F1A42 #D42358 #E3517D

Accessibility & contrast

On white

7.78
#9F1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A42
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A42#FFFFFF#000000##FFFFFF
##9F1A421.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414143
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1a42;
/* rgb */ color: rgb(159, 26, 66);
/* oklch */ color: oklch(46.1% 0.167 10.3);
Tailwind
colors: {
  custom: {
    50: '#c26776',
    500: '#9f1a42',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a42;
$custom-light: #c26776;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a42",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 341.955,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.16696,
    "h": 10.3
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#9F1A42
secondary
#50C5A2
accent
#EFB839
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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