#9D1847#9D1847

#9D1847 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 7.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9D1847
RGBrgb(157, 24, 71)
HSLhsl(339, 73%, 35%)
HSVhsv(339, 85%, 62%)
CMYKcmyk(0%, 84.7%, 54.8%, 38.4%)
CIE-LABlab(34.56, 54.49, 8.02)
CIE-LCHlch(34.56, 55.08, 8.37°)
OKLaboklab(45.76% 0.1663 0.0206)
OKLCHoklch(45.76% 0.168 7.1)
XYZxyz(15.3701, 8.2786, 6.7486)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1847 #189D6E
analogous
#9D1889 #9D1847 #9D2B18
triadic
#9D1847 #479D18 #18479D
tetradic
#9D1847 #899D18 #189D6E #2B189D
square
#9D1847 #899D18 #189D6E #2B189D
split-complementary
#9D1847 #189D2B #18899D
monochromatic
#330817 #68102F #9D1847 #D2205F #E44C81

Accessibility & contrast

On white

7.91
#9D1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9D1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1847
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1847#FFFFFF#000000##FFFFFF
##9D18471.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1847;
/* rgb */ color: rgb(157, 24, 71);
/* oklch */ color: oklch(45.8% 0.168 7.1);
Tailwind
colors: {
  custom: {
    50: '#c06679',
    500: '#9d1847',
    950: '#000000',
  },
}
SCSS
$custom: #9d1847;
$custom-light: #c06679;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1847",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 338.797,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.16755,
    "h": 7.1
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#9D1847
secondary
#4BC59A
accent
#F0AF38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1847

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

Preview Lab → · Contrast checker → · Palette generator →

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