#9C2F4E#9C2F4E

#9C2F4E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.145 H 7.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9C2F4E
RGBrgb(156, 47, 78)
HSLhsl(343, 54%, 40%)
HSVhsv(343, 70%, 61%)
CMYKcmyk(0%, 69.9%, 50%, 38.8%)
CIE-LABlab(37.21, 47.31, 7.21)
CIE-LCHlch(37.21, 47.85, 8.67°)
OKLaboklab(47.74% 0.1441 0.0188)
OKLCHoklch(47.74% 0.145 7.4)
XYZxyz(16.1033, 9.6531, 8.2215)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F4E #2F9C7D
analogous
#9C2F85 #9C2F4E #9C472F
triadic
#9C2F4E #4E9C2F #2F4E9C
tetradic
#9C2F4E #859C2F #2F9C7D #472F9C
square
#9C2F4E #859C2F #2F9C7D #472F9C
split-complementary
#9C2F4E #2F9C47 #2F859C
monochromatic
#3E131F #6D2136 #9C2F4E #C64268 #D4718D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2F4E#FFFFFF#000000##FFFFFF
##9C2F4E1.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)
#484A4F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#AA1C3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2f4e;
/* rgb */ color: rgb(156, 47, 78);
/* oklch */ color: oklch(47.7% 0.145 7.4);
Tailwind
colors: {
  custom: {
    50: '#be6f7f',
    500: '#9c2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f4e;
$custom-light: #be6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f4e",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 342.936,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.14528,
    "h": 7.4
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#9C2F4E
secondary
#6BBCA5
accent
#DDB34B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9C2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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