#9D1849#9D1849

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

Color values

HEX#9D1849
RGBrgb(157, 24, 73)
HSLhsl(338, 73%, 35%)
HSVhsv(338, 85%, 62%)
CMYKcmyk(0%, 84.7%, 53.5%, 38.4%)
CIE-LABlab(34.61, 54.65, 6.79)
CIE-LCHlch(34.61, 55.07, 7.08°)
OKLaboklab(45.81% 0.1671 0.0176)
OKLCHoklch(45.81% 0.168 6)
XYZxyz(15.4353, 8.3047, 7.0922)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1849 #189D6C
analogous
#9D188B #9D1849 #9D2A18
triadic
#9D1849 #499D18 #18499D
tetradic
#9D1849 #8B9D18 #189D6C #2A189D
square
#9D1849 #8B9D18 #189D6C #2A189D
split-complementary
#9D1849 #189D2A #188B9D
monochromatic
#330818 #681030 #9D1849 #D22062 #E44C84

Accessibility & contrast

On white

7.89
#9D1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1849
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1849#FFFFFF#000000##FFFFFF
##9D18491.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414A
Deuteranopia (green-blind)
#605B46
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1849;
/* rgb */ color: rgb(157, 24, 73);
/* oklch */ color: oklch(45.8% 0.168 6.0);
Tailwind
colors: {
  custom: {
    50: '#c0667b',
    500: '#9d1849',
    950: '#000000',
  },
}
SCSS
$custom: #9d1849;
$custom-light: #c0667b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1849",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 337.895,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.16798,
    "h": 6
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#9D1849
secondary
#4BC598
accent
#F0AC38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1849

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

Preview Lab → · Contrast checker → · Palette generator →

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