#9D1648#9D1648

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

Color values

HEX#9D1648
RGBrgb(157, 22, 72)
HSLhsl(338, 75%, 35%)
HSVhsv(338, 86%, 62%)
CMYKcmyk(0%, 86%, 54.1%, 38.4%)
CIE-LABlab(34.42, 55.03, 7.17)
CIE-LCHlch(34.42, 55.50, 7.43°)
OKLaboklab(45.67% 0.1682 0.0185)
OKLCHoklch(45.67% 0.169 6.3)
XYZxyz(15.3627, 8.2121, 6.9058)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1648 #169D6B
analogous
#9D168B #9D1648 #9D2816
triadic
#9D1648 #489D16 #16489D
tetradic
#9D1648 #8B9D16 #169D6B #28169D
square
#9D1648 #8B9D16 #169D6B #28169D
split-complementary
#9D1648 #169D28 #168B9D
monochromatic
#320717 #670E2F #9D1648 #D31E61 #E54882

Accessibility & contrast

On white

7.95
#9D1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1648
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1648#FFFFFF#000000##FFFFFF
##9D16481.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1648;
/* rgb */ color: rgb(157, 22, 72);
/* oklch */ color: oklch(45.7% 0.169 6.3);
Tailwind
colors: {
  custom: {
    50: '#c0657a',
    500: '#9d1648',
    950: '#000000',
  },
}
SCSS
$custom: #9d1648;
$custom-light: #c0657a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1648",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 337.778,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.16919,
    "h": 6.3
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#9D1648
secondary
#48C798
accent
#F2AC36
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1648

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

Preview Lab → · Contrast checker → · Palette generator →

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