#9F2552#9F2552

#9F2552 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.160 H 3.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9F2552
RGBrgb(159, 37, 82)
HSLhsl(338, 62%, 38%)
HSVhsv(338, 77%, 62%)
CMYKcmyk(0%, 76.7%, 48.4%, 37.6%)
CIE-LABlab(36.57, 52.26, 3.80)
CIE-LCHlch(36.57, 52.39, 4.16°)
OKLaboklab(47.4% 0.16 0.0103)
OKLCHoklch(47.4% 0.16 3.7)
XYZxyz(16.4840, 9.3055, 8.9091)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2552 #259F72
analogous
#9F258F #9F2552 #9F3525
triadic
#9F2552 #529F25 #25529F
tetradic
#9F2552 #8F9F25 #259F72 #35259F
square
#9F2552 #8F9F25 #259F72 #35259F
split-complementary
#9F2552 #259F35 #258F9F
monochromatic
#3C0E1F #6D1938 #9F2552 #CF326C #DB6490

Accessibility & contrast

On white

7.34
#9F2552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F2552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2552
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2552#FFFFFF#000000##FFFFFF
##9F25521.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#AD0838
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2552;
/* rgb */ color: rgb(159, 37, 82);
/* oklch */ color: oklch(47.4% 0.160 3.7);
Tailwind
colors: {
  custom: {
    50: '#c16b82',
    500: '#9f2552',
    950: '#000000',
  },
}
SCSS
$custom: #9f2552;
$custom-light: #c16b82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2552",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 337.869,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.16036,
    "h": 3.7
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#9F2552
secondary
#5FC09D
accent
#E5A942
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2552

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

Preview Lab → · Contrast checker → · Palette generator →

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