#9D1848#9D1848

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

Color values

HEX#9D1848
RGBrgb(157, 24, 72)
HSLhsl(338, 73%, 35%)
HSVhsv(338, 85%, 62%)
CMYKcmyk(0%, 84.7%, 54.1%, 38.4%)
CIE-LABlab(34.58, 54.57, 7.40)
CIE-LCHlch(34.58, 55.07, 7.72°)
OKLaboklab(45.79% 0.1667 0.0191)
OKLCHoklch(45.79% 0.168 6.5)
XYZxyz(15.4024, 8.2915, 6.9190)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1848 #189D6D
analogous
#9D188A #9D1848 #9D2A18
triadic
#9D1848 #489D18 #18489D
tetradic
#9D1848 #8A9D18 #189D6D #2A189D
square
#9D1848 #8A9D18 #189D6D #2A189D
split-complementary
#9D1848 #189D2A #188A9D
monochromatic
#330817 #681030 #9D1848 #D22060 #E44C83

Accessibility & contrast

On white

7.90
#9D1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1848
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1848#FFFFFF#000000##FFFFFF
##9D18481.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1848;
/* rgb */ color: rgb(157, 24, 72);
/* oklch */ color: oklch(45.8% 0.168 6.5);
Tailwind
colors: {
  custom: {
    50: '#c0667a',
    500: '#9d1848',
    950: '#000000',
  },
}
SCSS
$custom: #9d1848;
$custom-light: #c0667a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1848",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 338.346,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.16776,
    "h": 6.5
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#9D1848
secondary
#4BC599
accent
#F0AE38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1848

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

Preview Lab → · Contrast checker → · Palette generator →

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