#9F2C4E#9F2C4E

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

Color values

HEX#9F2C4E
RGBrgb(159, 44, 78)
HSLhsl(342, 57%, 40%)
HSVhsv(342, 72%, 62%)
CMYKcmyk(0%, 72.3%, 50.9%, 37.6%)
CIE-LABlab(37.34, 49.42, 7.48)
CIE-LCHlch(37.34, 49.98, 8.60°)
OKLaboklab(47.94% 0.1506 0.0194)
OKLCHoklch(47.94% 0.152 7.3)
XYZxyz(16.5753, 9.7246, 8.2104)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C4E #2C9F7D
analogous
#9F2C87 #9F2C4E #9F442C
triadic
#9F2C4E #4E9F2C #2C4E9F
tetradic
#9F2C4E #879F2C #2C9F7D #442C9F
square
#9F2C4E #879F2C #2C9F7D #442C9F
split-complementary
#9F2C4E #2C9F44 #2C879F
monochromatic
#3F111F #6F1F36 #9F2C4E #CA3E68 #D76E8D

Accessibility & contrast

On white

7.13
#9F2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2C4E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C4E#FFFFFF#000000##FFFFFF
##9F2C4E1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#66604B
Tritanopia (blue-blind)
#AD153A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2c4e;
/* rgb */ color: rgb(159, 44, 78);
/* oklch */ color: oklch(47.9% 0.152 7.3);
Tailwind
colors: {
  custom: {
    50: '#c16e7f',
    500: '#9f2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c4e;
$custom-light: #c16e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c4e",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 342.261,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.1518,
    "h": 7.3
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#9F2C4E
secondary
#69BEA5
accent
#E0B348
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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