#9D1A42#9D1A42

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

Color values

HEX#9D1A42
RGBrgb(157, 26, 66)
HSLhsl(342, 72%, 36%)
HSVhsv(342, 83%, 62%)
CMYKcmyk(0%, 83.4%, 58%, 38.4%)
CIE-LABlab(34.61, 53.62, 11.35)
CIE-LCHlch(34.61, 54.81, 11.95°)
OKLaboklab(45.75% 0.1627 0.0285)
OKLCHoklch(45.75% 0.165 9.9)
XYZxyz(15.2589, 8.3025, 5.9523)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A42 #1A9D75
analogous
#9D1A83 #9D1A42 #9D331A
triadic
#9D1A42 #429D1A #1A429D
tetradic
#9D1A42 #839D1A #1A9D75 #331A9D
square
#9D1A42 #839D1A #1A9D75 #331A9D
split-complementary
#9D1A42 #1A9D33 #1A839D
monochromatic
#340916 #68112C #9D1A42 #D22358 #E24F7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1A42#FFFFFF#000000##FFFFFF
##9D1A421.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)
#404143
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1a42;
/* rgb */ color: rgb(157, 26, 66);
/* oklch */ color: oklch(45.8% 0.165 9.9);
Tailwind
colors: {
  custom: {
    50: '#c16676',
    500: '#9d1a42',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a42;
$custom-light: #c16676;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a42",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 341.679,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.1652,
    "h": 9.9
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#9D1A42
secondary
#4EC4A0
accent
#EEB739
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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