#9F2A4D#9F2A4D

#9F2A4D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.154 H 7.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F2A4D
RGBrgb(159, 42, 77)
HSLhsl(342, 58%, 39%)
HSVhsv(342, 74%, 62%)
CMYKcmyk(0%, 73.6%, 51.6%, 37.6%)
CIE-LABlab(37.05, 50.07, 7.70)
CIE-LCHlch(37.05, 50.66, 8.74°)
OKLaboklab(47.72% 0.1526 0.0199)
OKLCHoklch(47.72% 0.154 7.4)
XYZxyz(16.4670, 9.5649, 7.9988)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A4D #2A9F7C
analogous
#9F2A88 #9F2A4D #9F412A
triadic
#9F2A4D #4D9F2A #2A4D9F
tetradic
#9F2A4D #889F2A #2A9F7C #412A9F
square
#9F2A4D #889F2A #2A9F7C #412A9F
split-complementary
#9F2A4D #2A9F41 #2A889F
monochromatic
#3E101E #6F1D36 #9F2A4D #CB3B66 #D86B8C

Accessibility & contrast

On white

7.21
#9F2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F2A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A4D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A4D#FFFFFF#000000##FFFFFF
##9F2A4D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484E
Deuteranopia (green-blind)
#65604A
Tritanopia (blue-blind)
#AD1038
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2a4d;
/* rgb */ color: rgb(159, 42, 77);
/* oklch */ color: oklch(47.7% 0.154 7.4);
Tailwind
colors: {
  custom: {
    50: '#c16d7e',
    500: '#9f2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a4d;
$custom-light: #c16d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a4d",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 342.051,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.15385,
    "h": 7.4
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#9F2A4D
secondary
#66BFA4
accent
#E1B346
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9F2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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