#8A2A64#8A2A64

#8A2A64 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.144 H 347.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2A64
RGBrgb(138, 42, 100)
HSLhsl(324, 53%, 35%)
HSVhsv(324, 70%, 54%)
CMYKcmyk(0%, 69.6%, 27.5%, 45.9%)
CIE-LABlab(33.94, 46.31, -12.06)
CIE-LCHlch(33.94, 47.86, 345.40°)
OKLaboklab(44.95% 0.1404 -0.0318)
OKLCHoklch(44.95% 0.144 347.2)
XYZxyz(13.6100, 7.9807, 12.8778)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A64 #2A8A50
analogous
#802A8A #8A2A64 #8A2A34
triadic
#8A2A64 #648A2A #2A648A
tetradic
#8A2A64 #8A802A #2A8A50 #2A348A
square
#8A2A64 #8A802A #2A8A50 #2A348A
split-complementary
#8A2A64 #348A2A #2A8A80
monochromatic
#2C0D20 #5B1C42 #8A2A64 #B93886 #CF60A3

Accessibility & contrast

On white

8.09
#8A2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A64
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A64#FFFFFF#000000##FFFFFF
##8A2A641.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364566
Deuteranopia (green-blind)
#525662
Tritanopia (blue-blind)
#942743
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a64;
/* rgb */ color: rgb(138, 42, 100);
/* oklch */ color: oklch(45.0% 0.144 347.2);
Tailwind
colors: {
  custom: {
    50: '#b06b90',
    500: '#8a2a64',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a64;
$custom-light: #b06b90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a64",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 323.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.14398,
    "h": 347.2
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#8A2A64
secondary
#5BB47F
accent
#DD854B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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