#9C1B45#9C1B45

#9C1B45 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.164 H 8.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9C1B45
RGBrgb(156, 27, 69)
HSLhsl(340, 70%, 36%)
HSVhsv(340, 83%, 61%)
CMYKcmyk(0%, 82.7%, 55.8%, 38.8%)
CIE-LABlab(34.57, 53.30, 9.31)
CIE-LCHlch(34.57, 54.11, 9.90°)
OKLaboklab(45.71% 0.1623 0.0237)
OKLCHoklch(45.71% 0.164 8.3)
XYZxyz(15.1779, 8.2837, 6.4288)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B45 #1B9C72
analogous
#9C1B85 #9C1B45 #9C311B
triadic
#9C1B45 #459C1B #1B459C
tetradic
#9C1B45 #859C1B #1B9C72 #311B9C
square
#9C1B45 #859C1B #1B9C72 #311B9C
split-complementary
#9C1B45 #1B9C31 #1B859C
monochromatic
#340917 #68122E #9C1B45 #D0245C #E15180

Accessibility & contrast

On white

7.91
#9C1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9C1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1B45
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B45#FFFFFF#000000##FFFFFF
##9C1B451.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#AB002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9c1b45;
/* rgb */ color: rgb(156, 27, 69);
/* oklch */ color: oklch(45.7% 0.164 8.3);
Tailwind
colors: {
  custom: {
    50: '#c06778',
    500: '#9c1b45',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b45;
$custom-light: #c06778;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b45",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 340.465,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.164,
    "h": 8.3
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#9C1B45
secondary
#4FC39E
accent
#EDB33B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9C1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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