#9D1C42#9D1C42

#9D1C42 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 10.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9D1C42
RGBrgb(157, 28, 66)
HSLhsl(342, 70%, 36%)
HSVhsv(342, 82%, 62%)
CMYKcmyk(0%, 82.2%, 58%, 38.4%)
CIE-LABlab(34.79, 53.09, 11.60)
CIE-LCHlch(34.79, 54.35, 12.32°)
OKLaboklab(45.89% 0.161 0.0291)
OKLCHoklch(45.89% 0.164 10.2)
XYZxyz(15.3048, 8.3942, 5.9676)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C42 #1C9D77
analogous
#9D1C83 #9D1C42 #9D371C
triadic
#9D1C42 #429D1C #1C429D
tetradic
#9D1C42 #839D1C #1C9D77 #371C9D
square
#9D1C42 #839D1C #1C9D77 #371C9D
split-complementary
#9D1C42 #1C9D37 #1C839D
monochromatic
#350916 #69132C #9D1C42 #D12558 #E0537D

Accessibility & contrast

On white

7.84
#9D1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C42
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C42#FFFFFF#000000##FFFFFF
##9D1C421.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414143
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1c42;
/* rgb */ color: rgb(157, 28, 66);
/* oklch */ color: oklch(45.9% 0.164 10.2);
Tailwind
colors: {
  custom: {
    50: '#c16776',
    500: '#9d1c42',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c42;
$custom-light: #c16776;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c42",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 342.326,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.16361,
    "h": 10.2
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#9D1C42
secondary
#51C3A2
accent
#EDB83B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1C42

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

Preview Lab → · Contrast checker → · Palette generator →

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