#9F1745#9F1745

#9F1745 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.170 H 8.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9F1745
RGBrgb(159, 23, 69)
HSLhsl(340, 75%, 36%)
HSVhsv(340, 86%, 62%)
CMYKcmyk(0%, 85.5%, 56.6%, 37.6%)
CIE-LABlab(34.83, 55.11, 9.77)
CIE-LCHlch(34.83, 55.97, 10.05°)
OKLaboklab(46.02% 0.1678 0.0248)
OKLCHoklch(46.02% 0.17 8.4)
XYZxyz(15.6802, 8.4157, 6.4278)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1745 #179F71
analogous
#9F1789 #9F1745 #9F2D17
triadic
#9F1745 #459F17 #17459F
tetradic
#9F1745 #899F17 #179F71 #2D179F
square
#9F1745 #899F17 #179F71 #2D179F
split-complementary
#9F1745 #179F2D #17899F
monochromatic
#340817 #6A0F2E #9F1745 #D41F5C #E54B7F

Accessibility & contrast

On white

7.83
#9F1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1745
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1745#FFFFFF#000000##FFFFFF
##9F17451.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#625B42
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1745;
/* rgb */ color: rgb(159, 23, 69);
/* oklch */ color: oklch(46.0% 0.170 8.4);
Tailwind
colors: {
  custom: {
    50: '#c26678',
    500: '#9f1745',
    950: '#000000',
  },
}
SCSS
$custom: #9f1745;
$custom-light: #c26678;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1745",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 339.706,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.16959,
    "h": 8.4
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#9F1745
secondary
#4BC79D
accent
#F1B236
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1745

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

Preview Lab → · Contrast checker → · Palette generator →

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