#8A2C4B#8A2C4B

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

Color values

HEX#8A2C4B
RGBrgb(138, 44, 75)
HSLhsl(340, 52%, 36%)
HSVhsv(340, 68%, 54%)
CMYKcmyk(0%, 68.1%, 45.7%, 45.9%)
CIE-LABlab(33.38, 42.45, 3.24)
CIE-LCHlch(33.38, 42.58, 4.36°)
OKLaboklab(44.25% 0.1297 0.0088)
OKLCHoklch(44.25% 0.13 3.9)
XYZxyz(12.6528, 7.7142, 7.4779)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C4B #2C8A6B
analogous
#8A2C7A #8A2C4B #8A3C2C
triadic
#8A2C4B #4B8A2C #2C4B8A
tetradic
#8A2C4B #7A8A2C #2C8A6B #3C2C8A
square
#8A2C4B #7A8A2C #2C8A6B #3C2C8A
split-complementary
#8A2C4B #2C8A3C #2C7A8A
monochromatic
#2D0E19 #5C1D32 #8A2C4B #B83B64 #CD6386

Accessibility & contrast

On white

8.26
#8A2C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2C4B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C4B#FFFFFF#000000##FFFFFF
##8A2C4B1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2c4b;
/* rgb */ color: rgb(138, 44, 75);
/* oklch */ color: oklch(44.3% 0.130 3.9);
Tailwind
colors: {
  custom: {
    50: '#b06c7d',
    500: '#8a2c4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c4b;
$custom-light: #b06c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c4b",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 340.213,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44253,
    "c": 0.12998,
    "h": 3.9
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#8A2C4B
secondary
#5EB497
accent
#DBAC4D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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