#8A2A5F#8A2A5F

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

Color values

HEX#8A2A5F
RGBrgb(138, 42, 95)
HSLhsl(327, 53%, 35%)
HSVhsv(327, 70%, 54%)
CMYKcmyk(0%, 69.6%, 31.2%, 45.9%)
CIE-LABlab(33.75, 45.65, -9.16)
CIE-LCHlch(33.75, 46.56, 348.66°)
OKLaboklab(44.74% 0.1391 -0.0238)
OKLCHoklch(44.74% 0.141 350.3)
XYZxyz(13.3754, 7.8869, 11.6422)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A5F #2A8A55
analogous
#852A8A #8A2A5F #8A2A2F
triadic
#8A2A5F #5F8A2A #2A5F8A
tetradic
#8A2A5F #8A852A #2A8A55 #2A2F8A
square
#8A2A5F #8A852A #2A8A55 #2A2F8A
split-complementary
#8A2A5F #2F8A2A #2A8A85
monochromatic
#2C0D1E #5B1C3F #8A2A5F #B9387F #CF609D

Accessibility & contrast

On white

8.15
#8A2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A5F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A5F#FFFFFF#000000##FFFFFF
##8A2A5F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384561
Deuteranopia (green-blind)
#53565D
Tritanopia (blue-blind)
#942540
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2a5f;
/* rgb */ color: rgb(138, 42, 95);
/* oklch */ color: oklch(44.7% 0.141 350.3);
Tailwind
colors: {
  custom: {
    50: '#b06b8c',
    500: '#8a2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a5f;
$custom-light: #b06b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a5f",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 326.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44744,
    "c": 0.1411,
    "h": 350.3
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#8A2A5F
secondary
#5BB483
accent
#DD8C4B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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