#9C2852#9C2852

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

Color values

HEX#9C2852
RGBrgb(156, 40, 82)
HSLhsl(338, 59%, 38%)
HSVhsv(338, 74%, 61%)
CMYKcmyk(0%, 74.4%, 47.4%, 38.8%)
CIE-LABlab(36.36, 50.35, 3.43)
CIE-LCHlch(36.36, 50.46, 3.90°)
OKLaboklab(47.15% 0.1541 0.0093)
OKLCHoklch(47.15% 0.154 3.5)
XYZxyz(15.9934, 9.1968, 8.9140)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2852 #289C72
analogous
#9C288C #9C2852 #9C3828
triadic
#9C2852 #529C28 #28529C
tetradic
#9C2852 #8C9C28 #289C72 #38289C
square
#9C2852 #8C9C28 #289C72 #38289C
split-complementary
#9C2852 #289C38 #288C9C
monochromatic
#3B0F1F #6B1C38 #9C2852 #CB366C #D86790

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2852#FFFFFF#000000##FFFFFF
##9C28521.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)
#434753
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AA123A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2852;
/* rgb */ color: rgb(156, 40, 82);
/* oklch */ color: oklch(47.1% 0.154 3.5);
Tailwind
colors: {
  custom: {
    50: '#be6c82',
    500: '#9c2852',
    950: '#000000',
  },
}
SCSS
$custom: #9c2852;
$custom-light: #be6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2852",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 338.276,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.1544,
    "h": 3.5
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2852

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

Preview Lab → · Contrast checker → · Palette generator →

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