#8A2B4A#8A2B4A

#8A2B4A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.131 H 4.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A2B4A
RGBrgb(138, 43, 74)
HSLhsl(340, 52%, 35%)
HSVhsv(340, 69%, 54%)
CMYKcmyk(0%, 68.8%, 46.4%, 45.9%)
CIE-LABlab(33.19, 42.78, 3.62)
CIE-LCHlch(33.19, 42.94, 4.83°)
OKLaboklab(44.11% 0.1307 0.0098)
OKLCHoklch(44.11% 0.131 4.3)
XYZxyz(12.5821, 7.6270, 7.2868)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B4A #2B8A6B
analogous
#8A2B79 #8A2B4A #8A3B2B
triadic
#8A2B4A #4A8A2B #2B4A8A
tetradic
#8A2B4A #798A2B #2B8A6B #3B2B8A
square
#8A2B4A #798A2B #2B8A6B #3B2B8A
split-complementary
#8A2B4A #2B8A3B #2B798A
monochromatic
#2D0E18 #5B1C31 #8A2B4A #B93A63 #CE6185

Accessibility & contrast

On white

8.32
#8A2B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B4A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B4A#FFFFFF#000000##FFFFFF
##8A2B4A1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#585548
Tritanopia (blue-blind)
#961E37
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2b4a;
/* rgb */ color: rgb(138, 43, 74);
/* oklch */ color: oklch(44.1% 0.131 4.3);
Tailwind
colors: {
  custom: {
    50: '#b16b7c',
    500: '#8a2b4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b4a;
$custom-light: #b16b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b4a",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 340.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.13103,
    "h": 4.3
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#8A2B4A
secondary
#5DB498
accent
#DCAD4C
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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