#9D2247#9D2247

#9D2247 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 8.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9D2247
RGBrgb(157, 34, 71)
HSLhsl(342, 64%, 37%)
HSVhsv(342, 78%, 62%)
CMYKcmyk(0%, 78.3%, 54.8%, 38.4%)
CIE-LABlab(35.54, 51.71, 9.39)
CIE-LCHlch(35.54, 52.55, 10.29°)
OKLaboklab(46.48% 0.1573 0.0239)
OKLCHoklch(46.48% 0.159 8.7)
XYZxyz(15.6155, 8.7693, 6.8304)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2247 #229D78
analogous
#9D2285 #9D2247 #9D3A22
triadic
#9D2247 #479D22 #22479D
tetradic
#9D2247 #859D22 #229D78 #3A229D
square
#9D2247 #859D22 #229D78 #3A229D
split-complementary
#9D2247 #229D3A #22859D
monochromatic
#380C1A #6B1730 #9D2247 #CF2D5E #DC5D83

Accessibility & contrast

On white

7.63
#9D2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2247
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2247#FFFFFF#000000##FFFFFF
##9D22471.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424448
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2247;
/* rgb */ color: rgb(157, 34, 71);
/* oklch */ color: oklch(46.5% 0.159 8.7);
Tailwind
colors: {
  custom: {
    50: '#c06979',
    500: '#9d2247',
    950: '#000000',
  },
}
SCSS
$custom: #9d2247;
$custom-light: #c06979;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2247",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 341.951,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.15909,
    "h": 8.7
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#9D2247
secondary
#5AC1A2
accent
#E7B540
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D2247

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

Preview Lab → · Contrast checker → · Palette generator →

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