#8A2046#8A2046

#8A2046 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.143 H 4.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8A2046
RGBrgb(138, 32, 70)
HSLhsl(338, 62%, 33%)
HSVhsv(338, 77%, 54%)
CMYKcmyk(0%, 76.8%, 49.3%, 45.9%)
CIE-LABlab(31.53, 46.68, 3.85)
CIE-LCHlch(31.53, 46.84, 4.72°)
OKLaboklab(42.84% 0.1428 0.0103)
OKLCHoklch(42.84% 0.143 4.1)
XYZxyz(12.1043, 6.8801, 6.4838)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2046 #208A64
analogous
#8A207B #8A2046 #8A2F20
triadic
#8A2046 #468A20 #20468A
tetradic
#8A2046 #7B8A20 #208A64 #2F208A
square
#8A2046 #7B8A20 #208A64 #2F208A
split-complementary
#8A2046 #208A2F #207B8A
monochromatic
#270914 #58142D #8A2046 #BC2C5F #D64E7F

Accessibility & contrast

On white

8.84
#8A2046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2046
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2046#FFFFFF#000000##FFFFFF
##8A20461.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2046;
/* rgb */ color: rgb(138, 32, 70);
/* oklch */ color: oklch(42.8% 0.143 4.1);
Tailwind
colors: {
  custom: {
    50: '#b16679',
    500: '#8a2046',
    950: '#000000',
  },
}
SCSS
$custom: #8a2046;
$custom-light: #b16679;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2046",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 338.491,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.14321,
    "h": 4.1
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#8A2046
secondary
#4DB992
accent
#E5AB42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2046

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

Preview Lab → · Contrast checker → · Palette generator →

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