#9F1740#9F1740

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

Color values

HEX#9F1740
RGBrgb(159, 23, 64)
HSLhsl(342, 75%, 36%)
HSVhsv(342, 86%, 62%)
CMYKcmyk(0%, 85.5%, 59.7%, 37.6%)
CIE-LABlab(34.71, 54.76, 12.86)
CIE-LCHlch(34.71, 56.25, 13.22°)
OKLaboklab(45.89% 0.1658 0.032)
OKLCHoklch(45.89% 0.169 10.9)
XYZxyz(15.5315, 8.3562, 5.6446)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1740 #179F76
analogous
#9F1784 #9F1740 #9F3217
triadic
#9F1740 #409F17 #17409F
tetradic
#9F1740 #849F17 #179F76 #32179F
square
#9F1740 #849F17 #179F76 #32179F
split-complementary
#9F1740 #179F32 #17849F
monochromatic
#340815 #6A0F2A #9F1740 #D41F56 #E54B7A

Accessibility & contrast

On white

7.86
#9F1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1740
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1740#FFFFFF#000000##FFFFFF
##9F17401.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1740;
/* rgb */ color: rgb(159, 23, 64);
/* oklch */ color: oklch(45.9% 0.169 10.9);
Tailwind
colors: {
  custom: {
    50: '#c26674',
    500: '#9f1740',
    950: '#000000',
  },
}
SCSS
$custom: #9f1740;
$custom-light: #c26674;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1740",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 341.912,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.16886,
    "h": 10.9
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#9F1740
secondary
#4BC7A1
accent
#F1B936
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1740

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

Preview Lab → · Contrast checker → · Palette generator →

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