#8A2A5D#8A2A5D

#8A2A5D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.140 H 351.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A2A5D
RGBrgb(138, 42, 93)
HSLhsl(328, 53%, 35%)
HSVhsv(328, 70%, 54%)
CMYKcmyk(0%, 69.6%, 32.6%, 45.9%)
CIE-LABlab(33.67, 45.39, -7.99)
CIE-LCHlch(33.67, 46.09, 350.02°)
OKLaboklab(44.66% 0.1385 -0.0207)
OKLCHoklch(44.66% 0.14 351.5)
XYZxyz(13.2857, 7.8510, 11.1695)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A5D #2A8A57
analogous
#872A8A #8A2A5D #8A2A2D
triadic
#8A2A5D #5D8A2A #2A5D8A
tetradic
#8A2A5D #8A872A #2A8A57 #2A2D8A
square
#8A2A5D #8A872A #2A8A57 #2A2D8A
split-complementary
#8A2A5D #2D8A2A #2A8A87
monochromatic
#2C0D1E #5B1C3D #8A2A5D #B9387D #CF609B

Accessibility & contrast

On white

8.17
#8A2A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A5D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A5D#FFFFFF#000000##FFFFFF
##8A2A5D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445E
Deuteranopia (green-blind)
#54555B
Tritanopia (blue-blind)
#94243F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2a5d;
/* rgb */ color: rgb(138, 42, 93);
/* oklch */ color: oklch(44.7% 0.140 351.5);
Tailwind
colors: {
  custom: {
    50: '#b06b8a',
    500: '#8a2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a5d;
$custom-light: #b06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a5d",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 328.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.14003,
    "h": 351.5
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#8A2A5D
secondary
#5BB485
accent
#DD8F4B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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