#8A1F46#8A1F46

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

Color values

HEX#8A1F46
RGBrgb(138, 31, 70)
HSLhsl(338, 63%, 33%)
HSVhsv(338, 78%, 54%)
CMYKcmyk(0%, 77.5%, 49.3%, 45.9%)
CIE-LABlab(31.41, 47.02, 3.68)
CIE-LCHlch(31.41, 47.16, 4.47°)
OKLaboklab(42.75% 0.144 0.0099)
OKLCHoklch(42.75% 0.144 3.9)
XYZxyz(12.0777, 6.8271, 6.4749)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F46 #1F8A63
analogous
#8A1F7B #8A1F46 #8A2D1F
triadic
#8A1F46 #468A1F #1F468A
tetradic
#8A1F46 #7B8A1F #1F8A63 #2D1F8A
square
#8A1F46 #7B8A1F #1F8A63 #2D1F8A
split-complementary
#8A1F46 #1F8A2D #1F7B8A
monochromatic
#260913 #58142D #8A1F46 #BC2A5F #D74C7F

Accessibility & contrast

On white

8.88
#8A1F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F46
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F46#FFFFFF#000000##FFFFFF
##8A1F461.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#960630
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1f46;
/* rgb */ color: rgb(138, 31, 70);
/* oklch */ color: oklch(42.7% 0.144 3.9);
Tailwind
colors: {
  custom: {
    50: '#b16579',
    500: '#8a1f46',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f46;
$custom-light: #b16579;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f46",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 338.131,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.14429,
    "h": 3.9
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#8A1F46
secondary
#4BBA91
accent
#E6AA41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1F46

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

Preview Lab → · Contrast checker → · Palette generator →

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