#9F2D52#9F2D52

#9F2D52 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.152 H 5.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F2D52
RGBrgb(159, 45, 82)
HSLhsl(341, 56%, 40%)
HSVhsv(341, 72%, 62%)
CMYKcmyk(0%, 71.7%, 48.4%, 37.6%)
CIE-LABlab(37.59, 49.40, 5.27)
CIE-LCHlch(37.59, 49.68, 6.09°)
OKLaboklab(48.16% 0.1509 0.014)
OKLCHoklch(48.16% 0.152 5.3)
XYZxyz(16.7608, 9.8591, 9.0014)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D52 #2D9F7A
analogous
#9F2D8B #9F2D52 #9F412D
triadic
#9F2D52 #529F2D #2D529F
tetradic
#9F2D52 #8B9F2D #2D9F7A #412D9F
square
#9F2D52 #8B9F2D #2D9F7A #412D9F
split-complementary
#9F2D52 #2D9F41 #2D8B9F
monochromatic
#401221 #6F2039 #9F2D52 #C9406D #D67091

Accessibility & contrast

On white

7.07
#9F2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D52
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D52#FFFFFF#000000##FFFFFF
##9F2D521.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#AD193C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2d52;
/* rgb */ color: rgb(159, 45, 82);
/* oklch */ color: oklch(48.2% 0.152 5.3);
Tailwind
colors: {
  custom: {
    50: '#c16f82',
    500: '#9f2d52',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d52;
$custom-light: #c16f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d52",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 340.526,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.15151,
    "h": 5.3
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#9F2D52
secondary
#6ABEA3
accent
#DFAE49
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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