#8A2A63#8A2A63

#8A2A63 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.143 H 347.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A2A63
RGBrgb(138, 42, 99)
HSLhsl(324, 53%, 35%)
HSVhsv(324, 70%, 54%)
CMYKcmyk(0%, 69.6%, 28.3%, 45.9%)
CIE-LABlab(33.90, 46.18, -11.49)
CIE-LCHlch(33.90, 47.58, 346.03°)
OKLaboklab(44.91% 0.1402 -0.0302)
OKLCHoklch(44.91% 0.143 347.8)
XYZxyz(13.5619, 7.9615, 12.6245)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A63 #2A8A51
analogous
#812A8A #8A2A63 #8A2A33
triadic
#8A2A63 #638A2A #2A638A
tetradic
#8A2A63 #8A812A #2A8A51 #2A338A
square
#8A2A63 #8A812A #2A8A51 #2A338A
split-complementary
#8A2A63 #338A2A #2A8A81
monochromatic
#2C0D20 #5B1C41 #8A2A63 #B93885 #CF60A2

Accessibility & contrast

On white

8.10
#8A2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A63
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A63#FFFFFF#000000##FFFFFF
##8A2A631.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364565
Deuteranopia (green-blind)
#525661
Tritanopia (blue-blind)
#942742
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a63;
/* rgb */ color: rgb(138, 42, 99);
/* oklch */ color: oklch(44.9% 0.143 347.8);
Tailwind
colors: {
  custom: {
    50: '#b06b8f',
    500: '#8a2a63',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a63;
$custom-light: #b06b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a63",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 324.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4491,
    "c": 0.14338,
    "h": 347.8
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#8A2A63
secondary
#5BB480
accent
#DD864B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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