#9F1742#9F1742

#9F1742 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.169 H 9.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9F1742
RGBrgb(159, 23, 66)
HSLhsl(341, 75%, 36%)
HSVhsv(341, 86%, 62%)
CMYKcmyk(0%, 85.5%, 58.5%, 37.6%)
CIE-LABlab(34.76, 54.90, 11.62)
CIE-LCHlch(34.76, 56.12, 11.96°)
OKLaboklab(45.94% 0.1666 0.0291)
OKLCHoklch(45.94% 0.169 9.9)
XYZxyz(15.5894, 8.3794, 5.9497)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1742 #179F74
analogous
#9F1786 #9F1742 #9F3017
triadic
#9F1742 #429F17 #17429F
tetradic
#9F1742 #869F17 #179F74 #30179F
square
#9F1742 #869F17 #179F74 #30179F
split-complementary
#9F1742 #179F30 #17869F
monochromatic
#340816 #6A0F2C #9F1742 #D41F58 #E54B7C

Accessibility & contrast

On white

7.85
#9F1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1742
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1742#FFFFFF#000000##FFFFFF
##9F17421.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404043
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1742;
/* rgb */ color: rgb(159, 23, 66);
/* oklch */ color: oklch(45.9% 0.169 9.9);
Tailwind
colors: {
  custom: {
    50: '#c26676',
    500: '#9f1742',
    950: '#000000',
  },
}
SCSS
$custom: #9f1742;
$custom-light: #c26676;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1742",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 341.029,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.16912,
    "h": 9.9
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#9F1742
secondary
#4BC7A0
accent
#F1B636
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1742

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

Preview Lab → · Contrast checker → · Palette generator →

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