#9F2D4E#9F2D4E

#9F2D4E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.151 H 7.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2D4E
RGBrgb(159, 45, 78)
HSLhsl(343, 56%, 40%)
HSVhsv(343, 72%, 62%)
CMYKcmyk(0%, 71.7%, 50.9%, 37.6%)
CIE-LABlab(37.48, 49.04, 7.67)
CIE-LCHlch(37.48, 49.63, 8.89°)
OKLaboklab(48.04% 0.1493 0.0199)
OKLCHoklch(48.04% 0.151 7.6)
XYZxyz(16.6130, 9.8000, 8.2230)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D4E #2D9F7E
analogous
#9F2D87 #9F2D4E #9F452D
triadic
#9F2D4E #4E9F2D #2D4E9F
tetradic
#9F2D4E #879F2D #2D9F7E #452D9F
square
#9F2D4E #879F2D #2D9F7E #452D9F
split-complementary
#9F2D4E #2D9F45 #2D879F
monochromatic
#40121F #6F2037 #9F2D4E #C94068 #D6708E

Accessibility & contrast

On white

7.10
#9F2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D4E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D4E#FFFFFF#000000##FFFFFF
##9F2D4E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#AD173A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2d4e;
/* rgb */ color: rgb(159, 45, 78);
/* oklch */ color: oklch(48.0% 0.151 7.6);
Tailwind
colors: {
  custom: {
    50: '#c16f7f',
    500: '#9f2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d4e;
$custom-light: #c16f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d4e",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 342.632,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.15066,
    "h": 7.6
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#9F2D4E
secondary
#6ABEA6
accent
#DFB449
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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