#8A2D68#8A2D68

#8A2D68 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.142 H 345.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A2D68
RGBrgb(138, 45, 104)
HSLhsl(322, 51%, 36%)
HSVhsv(322, 67%, 54%)
CMYKcmyk(0%, 67.4%, 24.6%, 45.9%)
CIE-LABlab(34.56, 45.61, -13.67)
CIE-LCHlch(34.56, 47.62, 343.31°)
OKLaboklab(45.46% 0.1375 -0.0363)
OKLCHoklch(45.46% 0.142 345.2)
XYZxyz(13.9188, 8.2809, 13.9594)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D68 #2D8A4F
analogous
#7D2D8A #8A2D68 #8A2D39
triadic
#8A2D68 #688A2D #2D688A
tetradic
#8A2D68 #8A7D2D #2D8A4F #2D398A
square
#8A2D68 #8A7D2D #2D8A4F #2D398A
split-complementary
#8A2D68 #398A2D #2D8A7D
monochromatic
#2E0F22 #5C1E45 #8A2D68 #B83C8B #CD65A7

Accessibility & contrast

On white

7.91
#8A2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D68
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D68#FFFFFF#000000##FFFFFF
##8A2D681.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37476A
Deuteranopia (green-blind)
#525766
Tritanopia (blue-blind)
#932C46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2d68;
/* rgb */ color: rgb(138, 45, 104);
/* oklch */ color: oklch(45.5% 0.142 345.2);
Tailwind
colors: {
  custom: {
    50: '#af6d93',
    500: '#8a2d68',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d68;
$custom-light: #af6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d68",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 321.935,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4546,
    "c": 0.14225,
    "h": 345.2
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#8A2D68
secondary
#60B37E
accent
#DA814D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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