#9C2A5F#9C2A5F

#9C2A5F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.157 H 356.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9C2A5F
RGBrgb(156, 42, 95)
HSLhsl(332, 58%, 39%)
HSVhsv(332, 73%, 61%)
CMYKcmyk(0%, 73.1%, 39.1%, 38.8%)
CIE-LABlab(37.03, 50.95, -3.91)
CIE-LCHlch(37.03, 51.10, 355.61°)
OKLaboklab(47.77% 0.1563 -0.0096)
OKLCHoklch(47.77% 0.157 356.5)
XYZxyz(16.6049, 9.5521, 11.7936)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A5F #2A9C67
analogous
#9C2A98 #9C2A5F #9C2E2A
triadic
#9C2A5F #5F9C2A #2A5F9C
tetradic
#9C2A5F #989C2A #2A9C67 #2E2A9C
square
#9C2A5F #989C2A #2A9C67 #2E2A9C
split-complementary
#9C2A5F #2A9C2E #2A989C
monochromatic
#3C1024 #6C1D42 #9C2A5F #CA397D #D76A9C

Accessibility & contrast

On white

7.22
#9C2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2A5F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A5F#FFFFFF#000000##FFFFFF
##9C2A5F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A60
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#A91D41
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2a5f;
/* rgb */ color: rgb(156, 42, 95);
/* oklch */ color: oklch(47.8% 0.157 356.5);
Tailwind
colors: {
  custom: {
    50: '#be6d8c',
    500: '#9c2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a5f;
$custom-light: #be6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a5f",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 332.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.1566,
    "h": 356.5
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#9C2A5F
secondary
#65BD94
accent
#E19947
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9C2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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