#8A2543#8A2543

#8A2543 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.137 H 7.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2543
RGBrgb(138, 37, 67)
HSLhsl(342, 58%, 34%)
HSVhsv(342, 73%, 54%)
CMYKcmyk(0%, 73.2%, 51.4%, 45.9%)
CIE-LABlab(32.11, 44.56, 6.64)
CIE-LCHlch(32.11, 45.05, 8.48°)
OKLaboklab(43.24% 0.1358 0.0173)
OKLCHoklch(43.24% 0.137 7.2)
XYZxyz(12.1570, 7.1333, 6.0458)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2543 #258A6C
analogous
#8A2576 #8A2543 #8A3A25
triadic
#8A2543 #438A25 #25438A
tetradic
#8A2543 #768A25 #258A6C #3A258A
square
#8A2543 #768A25 #258A6C #3A258A
split-complementary
#8A2543 #258A3A #25768A
monochromatic
#290B14 #5A182C #8A2543 #BA325A #D2577C

Accessibility & contrast

On white

8.65
#8A2543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2543 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2543
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2543#FFFFFF#000000##FFFFFF
##8A25431.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3F44
Deuteranopia (green-blind)
#585341
Tritanopia (blue-blind)
#971131
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2543;
/* rgb */ color: rgb(138, 37, 67);
/* oklch */ color: oklch(43.2% 0.137 7.2);
Tailwind
colors: {
  custom: {
    50: '#b16876',
    500: '#8a2543',
    950: '#000000',
  },
}
SCSS
$custom: #8a2543;
$custom-light: #b16876;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2543",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 67
  },
  "hsl": {
    "h": 342.178,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.13686,
    "h": 7.2
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#8A2543
secondary
#54B799
accent
#E1B347
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8A2543

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

Preview Lab → · Contrast checker → · Palette generator →

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