#8A2146#8A2146

#8A2146 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 4.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8A2146
RGBrgb(138, 33, 70)
HSLhsl(339, 61%, 34%)
HSVhsv(339, 76%, 54%)
CMYKcmyk(0%, 76.1%, 49.3%, 45.9%)
CIE-LABlab(31.66, 46.32, 4.03)
CIE-LCHlch(31.66, 46.50, 4.97°)
OKLaboklab(42.93% 0.1417 0.0108)
OKLCHoklch(42.93% 0.142 4.4)
XYZxyz(12.1316, 6.9348, 6.4929)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2146 #218A65
analogous
#8A217A #8A2146 #8A3021
triadic
#8A2146 #468A21 #21468A
tetradic
#8A2146 #7A8A21 #218A65 #30218A
square
#8A2146 #7A8A21 #218A65 #30218A
split-complementary
#8A2146 #218A30 #217A8A
monochromatic
#270914 #59152D #8A2146 #BB2D5F #D5507F

Accessibility & contrast

On white

8.80
#8A2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2146
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2146#FFFFFF#000000##FFFFFF
##8A21461.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D47
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#960B31
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2146;
/* rgb */ color: rgb(138, 33, 70);
/* oklch */ color: oklch(42.9% 0.142 4.4);
Tailwind
colors: {
  custom: {
    50: '#b16679',
    500: '#8a2146',
    950: '#000000',
  },
}
SCSS
$custom: #8a2146;
$custom-light: #b16679;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2146",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 338.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42931,
    "c": 0.14212,
    "h": 4.4
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#8A2146
secondary
#4EB993
accent
#E5AC43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2146

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

Preview Lab → · Contrast checker → · Palette generator →

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