#9C2851#9C2851

#9C2851 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.154 H 4.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9C2851
RGBrgb(156, 40, 81)
HSLhsl(339, 59%, 38%)
HSVhsv(339, 74%, 61%)
CMYKcmyk(0%, 74.4%, 48.1%, 38.8%)
CIE-LABlab(36.33, 50.25, 4.04)
CIE-LCHlch(36.33, 50.42, 4.59°)
OKLaboklab(47.12% 0.1538 0.0109)
OKLCHoklch(47.12% 0.154 4)
XYZxyz(15.9556, 9.1817, 8.7150)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2851 #289C73
analogous
#9C288B #9C2851 #9C3928
triadic
#9C2851 #519C28 #28519C
tetradic
#9C2851 #8B9C28 #289C73 #39289C
square
#9C2851 #8B9C28 #289C73 #39289C
split-complementary
#9C2851 #289C39 #288B9C
monochromatic
#3B0F1E #6B1C38 #9C2851 #CB366B #D8678F

Accessibility & contrast

On white

7.40
#9C2851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9C2851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2851
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2851#FFFFFF#000000##FFFFFF
##9C28511.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#625E4E
Tritanopia (blue-blind)
#AA1239
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9c2851;
/* rgb */ color: rgb(156, 40, 81);
/* oklch */ color: oklch(47.1% 0.154 4.0);
Tailwind
colors: {
  custom: {
    50: '#be6c81',
    500: '#9c2851',
    950: '#000000',
  },
}
SCSS
$custom: #9c2851;
$custom-light: #be6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2851",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 338.793,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.15413,
    "h": 4
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#9C2851
secondary
#62BE9D
accent
#E2AB45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2851

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

Preview Lab → · Contrast checker → · Palette generator →

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