#9D1647#9D1647

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

Color values

HEX#9D1647
RGBrgb(157, 22, 71)
HSLhsl(338, 75%, 35%)
HSVhsv(338, 86%, 62%)
CMYKcmyk(0%, 86%, 54.8%, 38.4%)
CIE-LABlab(34.39, 54.95, 7.79)
CIE-LCHlch(34.39, 55.50, 8.07°)
OKLaboklab(45.64% 0.1678 0.02)
OKLCHoklch(45.64% 0.169 6.8)
XYZxyz(15.3304, 8.1991, 6.7354)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1647 #169D6C
analogous
#9D168B #9D1647 #9D2816
triadic
#9D1647 #479D16 #16479D
tetradic
#9D1647 #8B9D16 #169D6C #28169D
square
#9D1647 #8B9D16 #169D6C #28169D
split-complementary
#9D1647 #169D28 #168B9D
monochromatic
#320716 #670E2F #9D1647 #D31E5F #E54881

Accessibility & contrast

On white

7.96
#9D1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1647
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1647#FFFFFF#000000##FFFFFF
##9D16471.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.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: #9d1647;
/* rgb */ color: rgb(157, 22, 71);
/* oklch */ color: oklch(45.6% 0.169 6.8);
Tailwind
colors: {
  custom: {
    50: '#c06579',
    500: '#9d1647',
    950: '#000000',
  },
}
SCSS
$custom: #9d1647;
$custom-light: #c06579;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1647",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 338.222,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.16898,
    "h": 6.8
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#9D1647
secondary
#48C799
accent
#F2AE36
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1647

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

Preview Lab → · Contrast checker → · Palette generator →

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