#9D1D42#9D1D42

#9D1D42 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.163 H 10.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9D1D42
RGBrgb(157, 29, 66)
HSLhsl(343, 69%, 36%)
HSVhsv(343, 82%, 62%)
CMYKcmyk(0%, 81.5%, 58%, 38.4%)
CIE-LABlab(34.89, 52.82, 11.73)
CIE-LCHlch(34.89, 54.11, 12.52°)
OKLaboklab(45.96% 0.1601 0.0294)
OKLCHoklch(45.96% 0.163 10.4)
XYZxyz(15.3289, 8.4424, 5.9756)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D42 #1D9D78
analogous
#9D1D82 #9D1D42 #9D381D
triadic
#9D1D42 #429D1D #1D429D
tetradic
#9D1D42 #829D1D #1D9D78 #381D9D
square
#9D1D42 #829D1D #1D9D78 #381D9D
split-complementary
#9D1D42 #1D9D38 #1D829D
monochromatic
#360A17 #69132C #9D1D42 #D12758 #E0557D

Accessibility & contrast

On white

7.81
#9D1D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D42
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D42#FFFFFF#000000##FFFFFF
##9D1D421.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414243
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1d42;
/* rgb */ color: rgb(157, 29, 66);
/* oklch */ color: oklch(46.0% 0.163 10.4);
Tailwind
colors: {
  custom: {
    50: '#c16776',
    500: '#9d1d42',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d42;
$custom-light: #c16776;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d42",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 342.656,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.16279,
    "h": 10.4
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#9D1D42
secondary
#53C3A2
accent
#ECB93C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1D42

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

Preview Lab → · Contrast checker → · Palette generator →

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