#9C2F5A#9C2F5A

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

Color values

HEX#9C2F5A
RGBrgb(156, 47, 90)
HSLhsl(336, 54%, 40%)
HSVhsv(336, 70%, 61%)
CMYKcmyk(0%, 69.9%, 42.3%, 38.8%)
CIE-LABlab(37.56, 48.49, 0.05)
CIE-LCHlch(37.56, 48.49, 0.06°)
OKLaboklab(48.11% 0.1485 0.0007)
OKLCHoklch(48.11% 0.149 0.3)
XYZxyz(16.5734, 9.8412, 10.6976)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F5A #2F9C71
analogous
#9C2F91 #9C2F5A #9C3A2F
triadic
#9C2F5A #5A9C2F #2F5A9C
tetradic
#9C2F5A #919C2F #2F9C71 #3A2F9C
square
#9C2F5A #919C2F #2F9C71 #3A2F9C
split-complementary
#9C2F5A #2F9C3A #2F919C
monochromatic
#3E1324 #6D213F #9C2F5A #C64276 #D47198

Accessibility & contrast

On white

7.08
#9C2F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C2F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2F5A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F5A#FFFFFF#000000##FFFFFF
##9C2F5A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#626057
Tritanopia (blue-blind)
#A92141
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2f5a;
/* rgb */ color: rgb(156, 47, 90);
/* oklch */ color: oklch(48.1% 0.149 0.3);
Tailwind
colors: {
  custom: {
    50: '#be7088',
    500: '#9c2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f5a;
$custom-light: #be7088;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f5a",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 336.33,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.14852,
    "h": 0.3
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#9C2F5A
secondary
#6BBC9C
accent
#DDA34B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9C2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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