#8A2A58#8A2A58

#8A2A58 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.138 H 354.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A2A58
RGBrgb(138, 42, 88)
HSLhsl(331, 53%, 35%)
HSVhsv(331, 70%, 54%)
CMYKcmyk(0%, 69.6%, 36.2%, 45.9%)
CIE-LABlab(33.49, 44.77, -5.03)
CIE-LCHlch(33.49, 45.05, 353.59°)
OKLaboklab(44.47% 0.137 -0.0127)
OKLCHoklch(44.47% 0.138 354.7)
XYZxyz(13.0714, 7.7653, 10.0411)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A58 #2A8A5C
analogous
#8A2A88 #8A2A58 #8A2C2A
triadic
#8A2A58 #588A2A #2A588A
tetradic
#8A2A58 #888A2A #2A8A5C #2C2A8A
square
#8A2A58 #888A2A #2A8A5C #2C2A8A
split-complementary
#8A2A58 #2A8A2C #2A888A
monochromatic
#2C0D1C #5B1C3A #8A2A58 #B93876 #CF6095

Accessibility & contrast

On white

8.23
#8A2A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A58
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A58#FFFFFF#000000##FFFFFF
##8A2A581.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#555556
Tritanopia (blue-blind)
#95223D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2a58;
/* rgb */ color: rgb(138, 42, 88);
/* oklch */ color: oklch(44.5% 0.138 354.7);
Tailwind
colors: {
  custom: {
    50: '#b06b87',
    500: '#8a2a58',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a58;
$custom-light: #b06b87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a58",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 331.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.13755,
    "h": 354.7
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#8A2A58
secondary
#5BB48A
accent
#DD974B
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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