#9F2052#9F2052

#9F2052 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.165 H 2.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9F2052
RGBrgb(159, 32, 82)
HSLhsl(336, 66%, 37%)
HSVhsv(336, 80%, 62%)
CMYKcmyk(0%, 79.9%, 48.4%, 37.6%)
CIE-LABlab(36.01, 53.82, 3.01)
CIE-LCHlch(36.01, 53.90, 3.20°)
OKLaboklab(47% 0.1651 0.0083)
OKLCHoklch(47% 0.165 2.9)
XYZxyz(16.3390, 9.0154, 8.8608)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2052 #209F6D
analogous
#9F2091 #9F2052 #9F2E20
triadic
#9F2052 #529F20 #20529F
tetradic
#9F2052 #919F20 #209F6D #2E209F
square
#9F2052 #919F20 #209F6D #2E209F
split-complementary
#9F2052 #209F2E #20919F
monochromatic
#390B1D #6C1638 #9F2052 #D22A6C #DE5B8F

Accessibility & contrast

On white

7.49
#9F2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9F2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2052
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2052#FFFFFF#000000##FFFFFF
##9F20521.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#615E4F
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2052;
/* rgb */ color: rgb(159, 32, 82);
/* oklch */ color: oklch(47.0% 0.165 2.9);
Tailwind
colors: {
  custom: {
    50: '#c16982',
    500: '#9f2052',
    950: '#000000',
  },
}
SCSS
$custom: #9f2052;
$custom-light: #c16982;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2052",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 336.378,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46998,
    "c": 0.16526,
    "h": 2.9
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#9F2052
secondary
#59C299
accent
#E9A63E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2052

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

Preview Lab → · Contrast checker → · Palette generator →

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