#8A2A5C#8A2A5C

#8A2A5C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.140 H 352.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A2A5C
RGBrgb(138, 42, 92)
HSLhsl(329, 53%, 35%)
HSVhsv(329, 70%, 54%)
CMYKcmyk(0%, 69.6%, 33.3%, 45.9%)
CIE-LABlab(33.63, 45.26, -7.40)
CIE-LCHlch(33.63, 45.87, 350.72°)
OKLaboklab(44.62% 0.1382 -0.0191)
OKLCHoklch(44.62% 0.14 352.1)
XYZxyz(13.2417, 7.8334, 10.9378)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A5C #2A8A58
analogous
#882A8A #8A2A5C #8A2A2C
triadic
#8A2A5C #5C8A2A #2A5C8A
tetradic
#8A2A5C #8A882A #2A8A58 #2A2C8A
square
#8A2A5C #8A882A #2A8A58 #2A2C8A
split-complementary
#8A2A5C #2C8A2A #2A8A88
monochromatic
#2C0D1D #5B1C3D #8A2A5C #B9387B #CF609A

Accessibility & contrast

On white

8.18
#8A2A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A5C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A5C#FFFFFF#000000##FFFFFF
##8A2A5C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2a5c;
/* rgb */ color: rgb(138, 42, 92);
/* oklch */ color: oklch(44.6% 0.140 352.1);
Tailwind
colors: {
  custom: {
    50: '#b06b8a',
    500: '#8a2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a5c;
$custom-light: #b06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a5c",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 328.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44624,
    "c": 0.13951,
    "h": 352.1
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#8A2A5C
secondary
#5BB486
accent
#DD914B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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