#8A2058#8A2058

#8A2058 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.150 H 353.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2058
RGBrgb(138, 32, 88)
HSLhsl(328, 62%, 33%)
HSVhsv(328, 77%, 54%)
CMYKcmyk(0%, 76.8%, 36.2%, 45.9%)
CIE-LABlab(32.13, 48.57, -7.07)
CIE-LCHlch(32.13, 49.08, 351.72°)
OKLaboklab(43.47% 0.1489 -0.0181)
OKLCHoklch(43.47% 0.15 353.1)
XYZxyz(12.7600, 7.1424, 9.9373)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2058 #208A52
analogous
#87208A #8A2058 #8A2023
triadic
#8A2058 #588A20 #20588A
tetradic
#8A2058 #8A8720 #208A52 #20238A
square
#8A2058 #8A8720 #208A52 #20238A
split-complementary
#8A2058 #238A20 #208A87
monochromatic
#270919 #581438 #8A2058 #BC2C78 #D64E96

Accessibility & contrast

On white

8.65
#8A2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2058
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2058#FFFFFF#000000##FFFFFF
##8A20581.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343F59
Deuteranopia (green-blind)
#525356
Tritanopia (blue-blind)
#951639
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2058;
/* rgb */ color: rgb(138, 32, 88);
/* oklch */ color: oklch(43.5% 0.150 353.1);
Tailwind
colors: {
  custom: {
    50: '#b06687',
    500: '#8a2058',
    950: '#000000',
  },
}
SCSS
$custom: #8a2058;
$custom-light: #b06687;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2058",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 328.302,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.15004,
    "h": 353.1
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#8A2058
secondary
#4DB980
accent
#E58F42
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2058

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

Preview Lab → · Contrast checker → · Palette generator →

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