#9F2C52#9F2C52

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

Color values

HEX#9F2C52
RGBrgb(159, 44, 82)
HSLhsl(340, 57%, 40%)
HSVhsv(340, 72%, 62%)
CMYKcmyk(0%, 72.3%, 48.4%, 37.6%)
CIE-LABlab(37.45, 49.78, 5.07)
CIE-LCHlch(37.45, 50.04, 5.82°)
OKLaboklab(48.06% 0.1521 0.0135)
OKLCHoklch(48.06% 0.153 5.1)
XYZxyz(16.7231, 9.7837, 8.9888)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C52 #2C9F79
analogous
#9F2C8B #9F2C52 #9F402C
triadic
#9F2C52 #529F2C #2C529F
tetradic
#9F2C52 #8B9F2C #2C9F79 #402C9F
square
#9F2C52 #8B9F2C #2C9F79 #402C9F
split-complementary
#9F2C52 #2C9F40 #2C8B9F
monochromatic
#3F1121 #6F1F39 #9F2C52 #CA3E6C #D76E91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2C52#FFFFFF#000000##FFFFFF
##9F2C521.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)
#464A53
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AD173C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2c52;
/* rgb */ color: rgb(159, 44, 82);
/* oklch */ color: oklch(48.1% 0.153 5.1);
Tailwind
colors: {
  custom: {
    50: '#c16e82',
    500: '#9f2c52',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c52;
$custom-light: #c16e82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c52",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 340.174,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.15268,
    "h": 5.1
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#9F2C52
secondary
#69BEA2
accent
#E0AE48
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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