#8A2A62#8A2A62

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

Color values

HEX#8A2A62
RGBrgb(138, 42, 98)
HSLhsl(325, 53%, 35%)
HSVhsv(325, 70%, 54%)
CMYKcmyk(0%, 69.6%, 29%, 45.9%)
CIE-LABlab(33.86, 46.04, -10.91)
CIE-LCHlch(33.86, 47.32, 346.67°)
OKLaboklab(44.87% 0.1399 -0.0286)
OKLCHoklch(44.87% 0.143 348.4)
XYZxyz(13.5144, 7.9425, 12.3742)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A62 #2A8A52
analogous
#822A8A #8A2A62 #8A2A32
triadic
#8A2A62 #628A2A #2A628A
tetradic
#8A2A62 #8A822A #2A8A52 #2A328A
square
#8A2A62 #8A822A #2A8A52 #2A328A
split-complementary
#8A2A62 #328A2A #2A8A82
monochromatic
#2C0D1F #5B1C41 #8A2A62 #B93883 #CF60A0

Accessibility & contrast

On white

8.11
#8A2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A62
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A62#FFFFFF#000000##FFFFFF
##8A2A621.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374564
Deuteranopia (green-blind)
#535660
Tritanopia (blue-blind)
#942642
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a62;
/* rgb */ color: rgb(138, 42, 98);
/* oklch */ color: oklch(44.9% 0.143 348.4);
Tailwind
colors: {
  custom: {
    50: '#b06b8e',
    500: '#8a2a62',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a62;
$custom-light: #b06b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a62",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 325,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44868,
    "c": 0.1428,
    "h": 348.4
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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