#8A2E62#8A2E62

#8A2E62 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.137 H 349.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2E62
RGBrgb(138, 46, 98)
HSLhsl(326, 50%, 36%)
HSVhsv(326, 67%, 54%)
CMYKcmyk(0%, 66.7%, 29%, 45.9%)
CIE-LABlab(34.48, 44.34, -9.97)
CIE-LCHlch(34.48, 45.45, 347.32°)
OKLaboklab(45.32% 0.1346 -0.0261)
OKLCHoklch(45.32% 0.137 349)
XYZxyz(13.6634, 8.2405, 12.4239)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E62 #2E8A56
analogous
#842E8A #8A2E62 #8A2E34
triadic
#8A2E62 #628A2E #2E628A
tetradic
#8A2E62 #8A842E #2E8A56 #2E348A
square
#8A2E62 #8A842E #2E8A56 #2E348A
split-complementary
#8A2E62 #348A2E #2E8A84
monochromatic
#2E0F21 #5C1F41 #8A2E62 #B83D83 #CC66A0

Accessibility & contrast

On white

7.93
#8A2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E62
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E62#FFFFFF#000000##FFFFFF
##8A2E621.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#545760
Tritanopia (blue-blind)
#942A44
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e62;
/* rgb */ color: rgb(138, 46, 98);
/* oklch */ color: oklch(45.3% 0.137 349.0);
Tailwind
colors: {
  custom: {
    50: '#af6d8e',
    500: '#8a2e62',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e62;
$custom-light: #af6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e62",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 326.087,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.13714,
    "h": 349
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#8A2E62
secondary
#61B385
accent
#DA8B4E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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