#9F1942#9F1942

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

Color values

HEX#9F1942
RGBrgb(159, 25, 66)
HSLhsl(342, 73%, 36%)
HSVhsv(342, 84%, 62%)
CMYKcmyk(0%, 84.3%, 58.5%, 37.6%)
CIE-LABlab(34.93, 54.42, 11.85)
CIE-LCHlch(34.93, 55.70, 12.29°)
OKLaboklab(46.06% 0.1651 0.0297)
OKLCHoklch(46.06% 0.168 10.2)
XYZxyz(15.6307, 8.4619, 5.9635)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1942 #199F76
analogous
#9F1985 #9F1942 #9F3319
triadic
#9F1942 #429F19 #19429F
tetradic
#9F1942 #859F19 #199F76 #33199F
square
#9F1942 #859F19 #199F76 #33199F
split-complementary
#9F1942 #199F33 #19859F
monochromatic
#350816 #6A112C #9F1942 #D42158 #E34F7C

Accessibility & contrast

On white

7.80
#9F1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1942
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1942#FFFFFF#000000##FFFFFF
##9F19421.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1942;
/* rgb */ color: rgb(159, 25, 66);
/* oklch */ color: oklch(46.1% 0.168 10.2);
Tailwind
colors: {
  custom: {
    50: '#c26676',
    500: '#9f1942',
    950: '#000000',
  },
}
SCSS
$custom: #9f1942;
$custom-light: #c26676;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1942",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 341.642,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.16771,
    "h": 10.2
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#9F1942
secondary
#4EC6A1
accent
#F0B738
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1942

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

Preview Lab → · Contrast checker → · Palette generator →

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