#8A1F44#8A1F44

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

Color values

HEX#8A1F44
RGBrgb(138, 31, 68)
HSLhsl(339, 63%, 33%)
HSVhsv(339, 78%, 54%)
CMYKcmyk(0%, 77.5%, 50.7%, 45.9%)
CIE-LABlab(31.35, 46.84, 4.91)
CIE-LCHlch(31.35, 47.09, 5.99°)
OKLaboklab(42.69% 0.1432 0.013)
OKLCHoklch(42.69% 0.144 5.2)
XYZxyz(12.0156, 6.8022, 6.1480)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F44 #1F8A65
analogous
#8A1F79 #8A1F44 #8A2F1F
triadic
#8A1F44 #448A1F #1F448A
tetradic
#8A1F44 #798A1F #1F8A65 #2F1F8A
square
#8A1F44 #798A1F #1F8A65 #2F1F8A
split-complementary
#8A1F44 #1F8A2F #1F798A
monochromatic
#260913 #58142B #8A1F44 #BC2A5D #D74C7C

Accessibility & contrast

On white

8.90
#8A1F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F44
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F44#FFFFFF#000000##FFFFFF
##8A1F441.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C45
Deuteranopia (green-blind)
#565141
Tritanopia (blue-blind)
#97042F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1f44;
/* rgb */ color: rgb(138, 31, 68);
/* oklch */ color: oklch(42.7% 0.144 5.2);
Tailwind
colors: {
  custom: {
    50: '#b16577',
    500: '#8a1f44',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f44;
$custom-light: #b16577;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f44",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 339.252,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.14378,
    "h": 5.2
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#8A1F44
secondary
#4BBA93
accent
#E6AD41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1F44

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

Preview Lab → · Contrast checker → · Palette generator →

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