#8A2557#8A2557

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

Color values

HEX#8A2557
RGBrgb(138, 37, 87)
HSLhsl(330, 58%, 34%)
HSVhsv(330, 73%, 54%)
CMYKcmyk(0%, 73.2%, 37%, 45.9%)
CIE-LABlab(32.74, 46.64, -5.51)
CIE-LCHlch(32.74, 46.97, 353.27°)
OKLaboklab(43.91% 0.1429 -0.014)
OKLCHoklch(43.91% 0.144 354.4)
XYZxyz(12.8639, 7.4161, 9.7690)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2557 #258A58
analogous
#8A258A #8A2557 #8A2625
triadic
#8A2557 #578A25 #25578A
tetradic
#8A2557 #8A8A25 #258A58 #26258A
square
#8A2557 #8A8A25 #258A58 #26258A
split-complementary
#8A2557 #258A26 #258A8A
monochromatic
#290B1A #5A1839 #8A2557 #BA3275 #D25794

Accessibility & contrast

On white

8.46
#8A2557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A2557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2557
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2557#FFFFFF#000000##FFFFFF
##8A25571.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#535455
Tritanopia (blue-blind)
#951C3A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2557;
/* rgb */ color: rgb(138, 37, 87);
/* oklch */ color: oklch(43.9% 0.144 354.4);
Tailwind
colors: {
  custom: {
    50: '#b06886',
    500: '#8a2557',
    950: '#000000',
  },
}
SCSS
$custom: #8a2557;
$custom-light: #b06886;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2557",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 330.297,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.14361,
    "h": 354.4
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#8A2557
secondary
#54B786
accent
#E19547
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2557

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

Preview Lab → · Contrast checker → · Palette generator →

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