#8A2548#8A2548

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

Color values

HEX#8A2548
RGBrgb(138, 37, 72)
HSLhsl(339, 58%, 34%)
HSVhsv(339, 73%, 54%)
CMYKcmyk(0%, 73.2%, 47.8%, 45.9%)
CIE-LABlab(32.25, 45.03, 3.57)
CIE-LCHlch(32.25, 45.17, 4.53°)
OKLaboklab(43.39% 0.1377 0.0096)
OKLCHoklch(43.39% 0.138 4)
XYZxyz(12.3135, 7.1959, 6.8702)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2548 #258A67
analogous
#8A257B #8A2548 #8A3525
triadic
#8A2548 #488A25 #25488A
tetradic
#8A2548 #7B8A25 #258A67 #35258A
square
#8A2548 #7B8A25 #258A67 #35258A
split-complementary
#8A2548 #258A35 #257B8A
monochromatic
#290B16 #5A182F #8A2548 #BA3261 #D25782

Accessibility & contrast

On white

8.61
#8A2548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2548
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2548#FFFFFF#000000##FFFFFF
##8A25481.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F49
Deuteranopia (green-blind)
#575346
Tritanopia (blue-blind)
#961433
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2548;
/* rgb */ color: rgb(138, 37, 72);
/* oklch */ color: oklch(43.4% 0.138 4.0);
Tailwind
colors: {
  custom: {
    50: '#b1687a',
    500: '#8a2548',
    950: '#000000',
  },
}
SCSS
$custom: #8a2548;
$custom-light: #b1687a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2548",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 339.208,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43386,
    "c": 0.13805,
    "h": 4
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#8A2548
secondary
#54B794
accent
#E1AC47
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2548

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

Preview Lab → · Contrast checker → · Palette generator →

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