#8A1E46#8A1E46

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

Color values

HEX#8A1E46
RGBrgb(138, 30, 70)
HSLhsl(338, 64%, 33%)
HSVhsv(338, 78%, 54%)
CMYKcmyk(0%, 78.3%, 49.3%, 45.9%)
CIE-LABlab(31.29, 47.36, 3.51)
CIE-LCHlch(31.29, 47.48, 4.23°)
OKLaboklab(42.66% 0.145 0.0095)
OKLCHoklch(42.66% 0.145 3.7)
XYZxyz(12.0520, 6.7757, 6.4664)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E46 #1E8A62
analogous
#8A1E7C #8A1E46 #8A2C1E
triadic
#8A1E46 #468A1E #1E468A
tetradic
#8A1E46 #7C8A1E #1E8A62 #2C1E8A
square
#8A1E46 #7C8A1E #1E8A62 #2C1E8A
split-complementary
#8A1E46 #1E8A2C #1E7C8A
monochromatic
#250813 #58132C #8A1E46 #BC295F #D84B7F

Accessibility & contrast

On white

8.92
#8A1E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E46
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E46#FFFFFF#000000##FFFFFF
##8A1E461.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#96042F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e46;
/* rgb */ color: rgb(138, 30, 70);
/* oklch */ color: oklch(42.7% 0.145 3.7);
Tailwind
colors: {
  custom: {
    50: '#b16579',
    500: '#8a1e46',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e46;
$custom-light: #b16579;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e46",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 337.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.14534,
    "h": 3.7
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#8A1E46
secondary
#4ABA90
accent
#E7AA41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1E46

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

Preview Lab → · Contrast checker → · Palette generator →

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