#9A1D45#9A1D45

#9A1D45 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.161 H 8.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9A1D45
RGBrgb(154, 29, 69)
HSLhsl(341, 68%, 36%)
HSVhsv(341, 81%, 60%)
CMYKcmyk(0%, 81.2%, 55.2%, 39.6%)
CIE-LABlab(34.36, 52.19, 8.95)
CIE-LCHlch(34.36, 52.96, 9.73°)
OKLaboklab(45.48% 0.1589 0.0229)
OKLCHoklch(45.48% 0.161 8.2)
XYZxyz(14.8414, 8.1806, 6.4266)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D45 #1D9A72
analogous
#9A1D83 #9A1D45 #9A331D
triadic
#9A1D45 #459A1D #1D459A
tetradic
#9A1D45 #839A1D #1D9A72 #331D9A
square
#9A1D45 #839A1D #1D9A72 #331D9A
split-complementary
#9A1D45 #1D9A33 #1D839A
monochromatic
#330A17 #66132E #9A1D45 #CE275C #DF5380

Accessibility & contrast

On white

7.97
#9A1D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9A1D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D45
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D45#FFFFFF#000000##FFFFFF
##9A1D451.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#A8002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1d45;
/* rgb */ color: rgb(154, 29, 69);
/* oklch */ color: oklch(45.5% 0.161 8.2);
Tailwind
colors: {
  custom: {
    50: '#be6778',
    500: '#9a1d45',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d45;
$custom-light: #be6778;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d45",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 340.8,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.16055,
    "h": 8.2
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#9A1D45
secondary
#51C29E
accent
#EBB33D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1D45

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

Preview Lab → · Contrast checker → · Palette generator →

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