#9D1C48#9D1C48

#9D1C48 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.165 H 7.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1C48
RGBrgb(157, 28, 72)
HSLhsl(340, 70%, 36%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 82.2%, 54.1%, 38.4%)
CIE-LABlab(34.94, 53.55, 7.90)
CIE-LCHlch(34.94, 54.13, 8.40°)
OKLaboklab(46.05% 0.1634 0.0203)
OKLCHoklch(46.05% 0.165 7.1)
XYZxyz(15.4910, 8.4687, 6.9486)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C48 #1C9D71
analogous
#9D1C89 #9D1C48 #9D311C
triadic
#9D1C48 #489D1C #1C489D
tetradic
#9D1C48 #899D1C #1C9D71 #311C9D
square
#9D1C48 #899D1C #1C9D71 #311C9D
split-complementary
#9D1C48 #1C9D31 #1C899D
monochromatic
#350918 #691330 #9D1C48 #D12560 #E05383

Accessibility & contrast

On white

7.80
#9D1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C48
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C48#FFFFFF#000000##FFFFFF
##9D1C481.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1c48;
/* rgb */ color: rgb(157, 28, 72);
/* oklch */ color: oklch(46.0% 0.165 7.1);
Tailwind
colors: {
  custom: {
    50: '#c0677a',
    500: '#9d1c48',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c48;
$custom-light: #c0677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c48",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 339.535,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.16462,
    "h": 7.1
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#9D1C48
secondary
#51C39C
accent
#EDB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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