#8A2C4A#8A2C4A

#8A2C4A is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.2% C 0.130 H 4.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8A2C4A
RGBrgb(138, 44, 74)
HSLhsl(341, 52%, 36%)
HSVhsv(341, 68%, 54%)
CMYKcmyk(0%, 68.1%, 46.4%, 45.9%)
CIE-LABlab(33.35, 42.35, 3.84)
CIE-LCHlch(33.35, 42.53, 5.18°)
OKLaboklab(44.22% 0.1293 0.0103)
OKLCHoklch(44.22% 0.13 4.6)
XYZxyz(12.6189, 7.7006, 7.2991)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C4A #2C8A6C
analogous
#8A2C79 #8A2C4A #8A3D2C
triadic
#8A2C4A #4A8A2C #2C4A8A
tetradic
#8A2C4A #798A2C #2C8A6C #3D2C8A
square
#8A2C4A #798A2C #2C8A6C #3D2C8A
split-complementary
#8A2C4A #2C8A3D #2C798A
monochromatic
#2D0E18 #5C1D31 #8A2C4A #B83B63 #CD6385

Accessibility & contrast

On white

8.27
#8A2C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C4A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C4A#FFFFFF#000000##FFFFFF
##8A2C4A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#595548
Tritanopia (blue-blind)
#961F38
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2c4a;
/* rgb */ color: rgb(138, 44, 74);
/* oklch */ color: oklch(44.2% 0.130 4.6);
Tailwind
colors: {
  custom: {
    50: '#b16b7c',
    500: '#8a2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c4a;
$custom-light: #b16b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c4a",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 340.851,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.12971,
    "h": 4.6
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#8A2C4A
secondary
#5EB498
accent
#DBAE4D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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