#9D1A45#9D1A45

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

Color values

HEX#9D1A45
RGBrgb(157, 26, 69)
HSLhsl(340, 72%, 36%)
HSVhsv(340, 83%, 62%)
CMYKcmyk(0%, 83.4%, 56.1%, 38.4%)
CIE-LABlab(34.68, 53.84, 9.49)
CIE-LCHlch(34.68, 54.67, 10.00°)
OKLaboklab(45.83% 0.1639 0.0241)
OKLCHoklch(45.83% 0.166 8.4)
XYZxyz(15.3497, 8.3388, 6.4304)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A45 #1A9D72
analogous
#9D1A86 #9D1A45 #9D301A
triadic
#9D1A45 #459D1A #1A459D
tetradic
#9D1A45 #869D1A #1A9D72 #301A9D
square
#9D1A45 #869D1A #1A9D72 #301A9D
split-complementary
#9D1A45 #1A9D30 #1A869D
monochromatic
#340917 #68112E #9D1A45 #D2235C #E24F80

Accessibility & contrast

On white

7.87
#9D1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9D1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A45
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A45#FFFFFF#000000##FFFFFF
##9D1A451.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1a45;
/* rgb */ color: rgb(157, 26, 69);
/* oklch */ color: oklch(45.8% 0.166 8.4);
Tailwind
colors: {
  custom: {
    50: '#c06778',
    500: '#9d1a45',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a45;
$custom-light: #c06778;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a45",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 340.305,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.16567,
    "h": 8.4
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#9D1A45
secondary
#4EC49E
accent
#EEB339
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9D1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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