#9F1A40#9F1A40

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

Color values

HEX#9F1A40
RGBrgb(159, 26, 64)
HSLhsl(343, 72%, 36%)
HSVhsv(343, 84%, 62%)
CMYKcmyk(0%, 83.6%, 59.7%, 37.6%)
CIE-LABlab(34.97, 54.04, 13.21)
CIE-LCHlch(34.97, 55.63, 13.74°)
OKLaboklab(46.08% 0.1635 0.0328)
OKLCHoklch(46.08% 0.167 11.4)
XYZxyz(15.5945, 8.4822, 5.6656)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A40 #1A9F79
analogous
#9F1A83 #9F1A40 #9F371A
triadic
#9F1A40 #409F1A #1A409F
tetradic
#9F1A40 #839F1A #1A9F79 #371A9F
square
#9F1A40 #839F1A #1A9F79 #371A9F
split-complementary
#9F1A40 #1A9F37 #1A839F
monochromatic
#360916 #6A112B #9F1A40 #D42355 #E3517A

Accessibility & contrast

On white

7.79
#9F1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A40
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A40#FFFFFF#000000##FFFFFF
##9F1A401.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1a40;
/* rgb */ color: rgb(159, 26, 64);
/* oklch */ color: oklch(46.1% 0.167 11.4);
Tailwind
colors: {
  custom: {
    50: '#c26774',
    500: '#9f1a40',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a40;
$custom-light: #c26774;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a40",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 342.857,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.16671,
    "h": 11.4
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#9F1A40
secondary
#50C5A4
accent
#EFBB39
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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