#8A2547#8A2547

#8A2547 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.138 H 4.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8A2547
RGBrgb(138, 37, 71)
HSLhsl(340, 58%, 34%)
HSVhsv(340, 73%, 54%)
CMYKcmyk(0%, 73.2%, 48.6%, 45.9%)
CIE-LABlab(32.22, 44.93, 4.18)
CIE-LCHlch(32.22, 45.13, 5.31°)
OKLaboklab(43.36% 0.1373 0.0112)
OKLCHoklch(43.36% 0.138 4.6)
XYZxyz(12.2811, 7.1829, 6.6998)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2547 #258A68
analogous
#8A257A #8A2547 #8A3625
triadic
#8A2547 #478A25 #25478A
tetradic
#8A2547 #7A8A25 #258A68 #36258A
square
#8A2547 #7A8A25 #258A68 #36258A
split-complementary
#8A2547 #258A36 #257A8A
monochromatic
#290B15 #5A182E #8A2547 #BA3260 #D25781

Accessibility & contrast

On white

8.62
#8A2547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A2547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2547
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2547#FFFFFF#000000##FFFFFF
##8A25471.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#961333
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2547;
/* rgb */ color: rgb(138, 37, 71);
/* oklch */ color: oklch(43.4% 0.138 4.6);
Tailwind
colors: {
  custom: {
    50: '#b1687a',
    500: '#8a2547',
    950: '#000000',
  },
}
SCSS
$custom: #8a2547;
$custom-light: #b1687a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2547",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 339.802,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.13778,
    "h": 4.6
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#8A2547
secondary
#54B795
accent
#E1AD47
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2547

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

Preview Lab → · Contrast checker → · Palette generator →

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