#9F2A52#9F2A52

#9F2A52 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.155 H 4.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F2A52
RGBrgb(159, 42, 82)
HSLhsl(339, 58%, 39%)
HSVhsv(339, 74%, 62%)
CMYKcmyk(0%, 73.6%, 48.4%, 37.6%)
CIE-LABlab(37.19, 50.52, 4.69)
CIE-LCHlch(37.19, 50.74, 5.31°)
OKLaboklab(47.86% 0.1545 0.0125)
OKLCHoklch(47.86% 0.155 4.6)
XYZxyz(16.6504, 9.6383, 8.9646)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A52 #2A9F77
analogous
#9F2A8D #9F2A52 #9F3C2A
triadic
#9F2A52 #529F2A #2A529F
tetradic
#9F2A52 #8D9F2A #2A9F77 #3C2A9F
square
#9F2A52 #8D9F2A #2A9F77 #3C2A9F
split-complementary
#9F2A52 #2A9F3C #2A8D9F
monochromatic
#3E1020 #6F1D39 #9F2A52 #CB3B6C #D86B91

Accessibility & contrast

On white

7.17
#9F2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A52
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A52#FFFFFF#000000##FFFFFF
##9F2A521.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#AD143B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2a52;
/* rgb */ color: rgb(159, 42, 82);
/* oklch */ color: oklch(47.9% 0.155 4.6);
Tailwind
colors: {
  custom: {
    50: '#c16d82',
    500: '#9f2a52',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a52;
$custom-light: #c16d82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a52",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 339.487,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.15497,
    "h": 4.6
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#9F2A52
secondary
#66BFA0
accent
#E1AC46
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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