#8A2558#8A2558

#8A2558 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.144 H 353.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A2558
RGBrgb(138, 37, 88)
HSLhsl(330, 58%, 34%)
HSVhsv(330, 73%, 54%)
CMYKcmyk(0%, 73.2%, 36.2%, 45.9%)
CIE-LABlab(32.77, 46.76, -6.10)
CIE-LCHlch(32.77, 47.16, 352.56°)
OKLaboklab(43.94% 0.1432 -0.0155)
OKLCHoklch(43.94% 0.144 353.8)
XYZxyz(12.9050, 7.4325, 9.9856)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2558 #258A57
analogous
#8A258A #8A2558 #8A2526
triadic
#8A2558 #588A25 #25588A
tetradic
#8A2558 #8A8A25 #258A57 #25268A
square
#8A2558 #8A8A25 #258A57 #25268A
split-complementary
#8A2558 #268A25 #258A8A
monochromatic
#290B1A #5A1839 #8A2558 #BA3277 #D25795

Accessibility & contrast

On white

8.45
#8A2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A2558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2558
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2558#FFFFFF#000000##FFFFFF
##8A25581.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374159
Deuteranopia (green-blind)
#535456
Tritanopia (blue-blind)
#951C3B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2558;
/* rgb */ color: rgb(138, 37, 88);
/* oklch */ color: oklch(43.9% 0.144 353.8);
Tailwind
colors: {
  custom: {
    50: '#b06887',
    500: '#8a2558',
    950: '#000000',
  },
}
SCSS
$custom: #8a2558;
$custom-light: #b06887;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2558",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 329.703,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43943,
    "c": 0.14408,
    "h": 353.8
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#8A2558
secondary
#54B785
accent
#E19347
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2558

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

Preview Lab → · Contrast checker → · Palette generator →

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