#8A1D45#8A1D45

#8A1D45 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.146 H 4.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8A1D45
RGBrgb(138, 29, 69)
HSLhsl(338, 65%, 33%)
HSVhsv(338, 79%, 54%)
CMYKcmyk(0%, 79%, 50%, 45.9%)
CIE-LABlab(31.15, 47.59, 3.96)
CIE-LCHlch(31.15, 47.76, 4.75°)
OKLaboklab(42.54% 0.1457 0.0106)
OKLCHoklch(42.54% 0.146 4.2)
XYZxyz(11.9958, 6.7133, 6.2932)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D45 #1D8A62
analogous
#8A1D7B #8A1D45 #8A2C1D
triadic
#8A1D45 #458A1D #1D458A
tetradic
#8A1D45 #7B8A1D #1D8A62 #2C1D8A
square
#8A1D45 #7B8A1D #1D8A62 #2C1D8A
split-complementary
#8A1D45 #1D8A2C #1D7B8A
monochromatic
#250812 #57122C #8A1D45 #BD285E #D9497E

Accessibility & contrast

On white

8.97
#8A1D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D45
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D45#FFFFFF#000000##FFFFFF
##8A1D451.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#97012E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d45;
/* rgb */ color: rgb(138, 29, 69);
/* oklch */ color: oklch(42.5% 0.146 4.2);
Tailwind
colors: {
  custom: {
    50: '#b16478',
    500: '#8a1d45',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d45;
$custom-light: #b16478;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d45",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 337.982,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.14609,
    "h": 4.2
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#8A1D45
secondary
#48BB91
accent
#E8AA40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D45

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

Preview Lab → · Contrast checker → · Palette generator →

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