#8A2546#8A2546

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

Color values

HEX#8A2546
RGBrgb(138, 37, 70)
HSLhsl(340, 58%, 34%)
HSVhsv(340, 73%, 54%)
CMYKcmyk(0%, 73.2%, 49.3%, 45.9%)
CIE-LABlab(32.19, 44.84, 4.79)
CIE-LCHlch(32.19, 45.09, 6.10°)
OKLaboklab(43.33% 0.1369 0.0127)
OKLCHoklch(43.33% 0.138 5.3)
XYZxyz(12.2493, 7.1702, 6.5321)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2546 #258A69
analogous
#8A2579 #8A2546 #8A3725
triadic
#8A2546 #468A25 #25468A
tetradic
#8A2546 #798A25 #258A69 #37258A
square
#8A2546 #798A25 #258A69 #37258A
split-complementary
#8A2546 #258A37 #25798A
monochromatic
#290B15 #5A182E #8A2546 #BA325E #D2577F

Accessibility & contrast

On white

8.63
#8A2546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2546
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2546#FFFFFF#000000##FFFFFF
##8A25461.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2546;
/* rgb */ color: rgb(138, 37, 70);
/* oklch */ color: oklch(43.3% 0.138 5.3);
Tailwind
colors: {
  custom: {
    50: '#b16879',
    500: '#8a2546',
    950: '#000000',
  },
}
SCSS
$custom: #8a2546;
$custom-light: #b16879;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2546",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 340.396,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.13753,
    "h": 5.3
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#8A2546
secondary
#54B796
accent
#E1AF47
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2546

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

Preview Lab → · Contrast checker → · Palette generator →

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