#8A2D64#8A2D64

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

Color values

HEX#8A2D64
RGBrgb(138, 45, 100)
HSLhsl(325, 51%, 36%)
HSVhsv(325, 67%, 54%)
CMYKcmyk(0%, 67.4%, 27.5%, 45.9%)
CIE-LABlab(34.40, 45.05, -11.37)
CIE-LCHlch(34.40, 46.46, 345.83°)
OKLaboklab(45.29% 0.1365 -0.0299)
OKLCHoklch(45.29% 0.14 347.6)
XYZxyz(13.7204, 8.2016, 12.9146)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D64 #2D8A53
analogous
#812D8A #8A2D64 #8A2D35
triadic
#8A2D64 #648A2D #2D648A
tetradic
#8A2D64 #8A812D #2D8A53 #2D358A
square
#8A2D64 #8A812D #2D8A53 #2D358A
split-complementary
#8A2D64 #358A2D #2D8A81
monochromatic
#2E0F21 #5C1E43 #8A2D64 #B83C85 #CD65A2

Accessibility & contrast

On white

7.95
#8A2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D64
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D64#FFFFFF#000000##FFFFFF
##8A2D641.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384766
Deuteranopia (green-blind)
#535762
Tritanopia (blue-blind)
#942A44
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2d64;
/* rgb */ color: rgb(138, 45, 100);
/* oklch */ color: oklch(45.3% 0.140 347.6);
Tailwind
colors: {
  custom: {
    50: '#af6d90',
    500: '#8a2d64',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d64;
$custom-light: #af6d90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d64",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 324.516,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.13976,
    "h": 347.6
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#8A2D64
secondary
#60B382
accent
#DA874D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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