#9F2B52#9F2B52

#9F2B52 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.154 H 4.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9F2B52
RGBrgb(159, 43, 82)
HSLhsl(340, 57%, 40%)
HSVhsv(340, 73%, 62%)
CMYKcmyk(0%, 73%, 48.4%, 37.6%)
CIE-LABlab(37.32, 50.15, 4.88)
CIE-LCHlch(37.32, 50.39, 5.56°)
OKLaboklab(47.96% 0.1533 0.013)
OKLCHoklch(47.96% 0.154 4.8)
XYZxyz(16.6863, 9.7101, 8.9766)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B52 #2B9F78
analogous
#9F2B8C #9F2B52 #9F3E2B
triadic
#9F2B52 #529F2B #2B529F
tetradic
#9F2B52 #8C9F2B #2B9F78 #3E2B9F
square
#9F2B52 #8C9F2B #2B9F78 #3E2B9F
split-complementary
#9F2B52 #2B9F3E #2B8C9F
monochromatic
#3F1120 #6F1E39 #9F2B52 #CA3D6C #D76D91

Accessibility & contrast

On white

7.14
#9F2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2B52
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B52#FFFFFF#000000##FFFFFF
##9F2B521.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464953
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AD153B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2b52;
/* rgb */ color: rgb(159, 43, 82);
/* oklch */ color: oklch(48.0% 0.154 4.8);
Tailwind
colors: {
  custom: {
    50: '#c16e82',
    500: '#9f2b52',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b52;
$custom-light: #c16e82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b52",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 339.828,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.15383,
    "h": 4.8
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#9F2B52
secondary
#67BEA1
accent
#E1AD47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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