#8A1F45#8A1F45

#8A1F45 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.144 H 4.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8A1F45
RGBrgb(138, 31, 69)
HSLhsl(339, 63%, 33%)
HSVhsv(339, 78%, 54%)
CMYKcmyk(0%, 77.5%, 50%, 45.9%)
CIE-LABlab(31.38, 46.93, 4.29)
CIE-LCHlch(31.38, 47.12, 5.23°)
OKLaboklab(42.72% 0.1436 0.0114)
OKLCHoklch(42.72% 0.144 4.6)
XYZxyz(12.0464, 6.8146, 6.3101)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F45 #1F8A64
analogous
#8A1F7A #8A1F45 #8A2F1F
triadic
#8A1F45 #458A1F #1F458A
tetradic
#8A1F45 #7A8A1F #1F8A64 #2F1F8A
square
#8A1F45 #7A8A1F #1F8A64 #2F1F8A
split-complementary
#8A1F45 #1F8A2F #1F7A8A
monochromatic
#260913 #58142C #8A1F45 #BC2A5E #D74C7E

Accessibility & contrast

On white

8.89
#8A1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F45
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F45#FFFFFF#000000##FFFFFF
##8A1F451.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#97052F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1f45;
/* rgb */ color: rgb(138, 31, 69);
/* oklch */ color: oklch(42.7% 0.144 4.6);
Tailwind
colors: {
  custom: {
    50: '#b16578',
    500: '#8a1f45',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f45;
$custom-light: #b16578;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f45",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 338.692,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.14402,
    "h": 4.6
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#8A1F45
secondary
#4BBA92
accent
#E6AC41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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