#8A2D62#8A2D62

#8A2D62 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.139 H 348.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2D62
RGBrgb(138, 45, 98)
HSLhsl(326, 51%, 36%)
HSVhsv(326, 67%, 54%)
CMYKcmyk(0%, 67.4%, 29%, 45.9%)
CIE-LABlab(34.32, 44.78, -10.21)
CIE-LCHlch(34.32, 45.93, 347.15°)
OKLaboklab(45.21% 0.136 -0.0267)
OKLCHoklch(45.21% 0.139 348.9)
XYZxyz(13.6248, 8.1633, 12.4110)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D62 #2D8A55
analogous
#832D8A #8A2D62 #8A2D33
triadic
#8A2D62 #628A2D #2D628A
tetradic
#8A2D62 #8A832D #2D8A55 #2D338A
square
#8A2D62 #8A832D #2D8A55 #2D338A
split-complementary
#8A2D62 #338A2D #2D8A83
monochromatic
#2E0F20 #5C1E41 #8A2D62 #B83C83 #CD65A0

Accessibility & contrast

On white

7.98
#8A2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D62
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D62#FFFFFF#000000##FFFFFF
##8A2D621.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#545760
Tritanopia (blue-blind)
#942943
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2d62;
/* rgb */ color: rgb(138, 45, 98);
/* oklch */ color: oklch(45.2% 0.139 348.9);
Tailwind
colors: {
  custom: {
    50: '#af6d8e',
    500: '#8a2d62',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d62;
$custom-light: #af6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d62",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 325.806,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45205,
    "c": 0.13859,
    "h": 348.9
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#8A2D62
secondary
#60B384
accent
#DA8A4D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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