#8A2563#8A2563

#8A2563 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.150 H 347.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A2563
RGBrgb(138, 37, 99)
HSLhsl(323, 58%, 34%)
HSVhsv(323, 73%, 54%)
CMYKcmyk(0%, 73.2%, 28.3%, 45.9%)
CIE-LABlab(33.20, 48.14, -12.56)
CIE-LCHlch(33.20, 49.76, 345.38°)
OKLaboklab(44.39% 0.1463 -0.0331)
OKLCHoklch(44.39% 0.15 347.2)
XYZxyz(13.3955, 7.6287, 12.5690)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2563 #258A4C
analogous
#7F258A #8A2563 #8A2531
triadic
#8A2563 #638A25 #25638A
tetradic
#8A2563 #8A7F25 #258A4C #25318A
square
#8A2563 #8A7F25 #258A4C #25318A
split-complementary
#8A2563 #318A25 #258A7F
monochromatic
#290B1E #5A1840 #8A2563 #BA3286 #D257A3

Accessibility & contrast

On white

8.32
#8A2563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2563
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2563#FFFFFF#000000##FFFFFF
##8A25631.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334365
Deuteranopia (green-blind)
#505461
Tritanopia (blue-blind)
#942240
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2563;
/* rgb */ color: rgb(138, 37, 99);
/* oklch */ color: oklch(44.4% 0.150 347.2);
Tailwind
colors: {
  custom: {
    50: '#b0698f',
    500: '#8a2563',
    950: '#000000',
  },
}
SCSS
$custom: #8a2563;
$custom-light: #b0698f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2563",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 323.168,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44394,
    "c": 0.14997,
    "h": 347.2
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#8A2563
secondary
#54B77A
accent
#E18247
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2563

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

Preview Lab → · Contrast checker → · Palette generator →

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