#9D1547#9D1547

#9D1547 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.170 H 6.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9D1547
RGBrgb(157, 21, 71)
HSLhsl(338, 76%, 35%)
HSVhsv(338, 87%, 62%)
CMYKcmyk(0%, 86.6%, 54.8%, 38.4%)
CIE-LABlab(34.32, 55.18, 7.68)
CIE-LCHlch(34.32, 55.71, 7.92°)
OKLaboklab(45.58% 0.1685 0.0198)
OKLCHoklch(45.58% 0.17 6.7)
XYZxyz(15.3116, 8.1616, 6.7291)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1547 #159D6B
analogous
#9D158B #9D1547 #9D2715
triadic
#9D1547 #479D15 #15479D
tetradic
#9D1547 #8B9D15 #159D6B #27159D
square
#9D1547 #8B9D15 #159D6B #27159D
split-complementary
#9D1547 #159D27 #158B9D
monochromatic
#310716 #670E2F #9D1547 #D31C5F #E64681

Accessibility & contrast

On white

7.98
#9D1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9D1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1547
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1547#FFFFFF#000000##FFFFFF
##9D15471.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#605A44
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1547;
/* rgb */ color: rgb(157, 21, 71);
/* oklch */ color: oklch(45.6% 0.170 6.7);
Tailwind
colors: {
  custom: {
    50: '#c06579',
    500: '#9d1547',
    950: '#000000',
  },
}
SCSS
$custom: #9d1547;
$custom-light: #c06579;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1547",
  "rgb": {
    "r": 157,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 337.941,
    "s": 76.404,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.16967,
    "h": 6.7
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#9D1547
secondary
#47C798
accent
#F3AD35
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1547

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

Preview Lab → · Contrast checker → · Palette generator →

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