#9F2D4A#9F2D4A

#9F2D4A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.9% C 0.150 H 9.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9F2D4A
RGBrgb(159, 45, 74)
HSLhsl(345, 56%, 40%)
HSVhsv(345, 72%, 62%)
CMYKcmyk(0%, 71.7%, 53.5%, 37.6%)
CIE-LABlab(37.38, 48.69, 10.08)
CIE-LCHlch(37.38, 49.73, 11.70°)
OKLaboklab(47.94% 0.1478 0.0257)
OKLCHoklch(47.94% 0.15 9.9)
XYZxyz(16.4740, 9.7443, 7.4906)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D4A #2D9F82
analogous
#9F2D83 #9F2D4A #9F492D
triadic
#9F2D4A #4A9F2D #2D4A9F
tetradic
#9F2D4A #839F2D #2D9F82 #492D9F
square
#9F2D4A #839F2D #2D9F82 #492D9F
split-complementary
#9F2D4A #2D9F49 #2D839F
monochromatic
#40121E #6F2034 #9F2D4A #C94063 #D6708A

Accessibility & contrast

On white

7.12
#9F2D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D4A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D4A#FFFFFF#000000##FFFFFF
##9F2D4A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49494B
Deuteranopia (green-blind)
#676047
Tritanopia (blue-blind)
#AE1539
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2d4a;
/* rgb */ color: rgb(159, 45, 74);
/* oklch */ color: oklch(47.9% 0.150 9.9);
Tailwind
colors: {
  custom: {
    50: '#c16f7c',
    500: '#9f2d4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d4a;
$custom-light: #c16f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d4a",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 74
  },
  "hsl": {
    "h": 344.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.14999,
    "h": 9.9
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#9F2D4A
secondary
#6ABEA8
accent
#DFB949
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9F2D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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