#8A2D66#8A2D66

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

Color values

HEX#8A2D66
RGBrgb(138, 45, 102)
HSLhsl(323, 51%, 36%)
HSVhsv(323, 67%, 54%)
CMYKcmyk(0%, 67.4%, 26.1%, 45.9%)
CIE-LABlab(34.48, 45.33, -12.52)
CIE-LCHlch(34.48, 47.03, 344.55°)
OKLaboklab(45.37% 0.137 -0.0331)
OKLCHoklch(45.37% 0.141 346.4)
XYZxyz(13.8184, 8.2408, 13.4307)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D66 #2D8A51
analogous
#7F2D8A #8A2D66 #8A2D37
triadic
#8A2D66 #668A2D #2D668A
tetradic
#8A2D66 #8A7F2D #2D8A51 #2D378A
square
#8A2D66 #8A7F2D #2D8A51 #2D378A
split-complementary
#8A2D66 #378A2D #2D8A7F
monochromatic
#2E0F22 #5C1E44 #8A2D66 #B83C88 #CD65A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2D66#FFFFFF#000000##FFFFFF
##8A2D661.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)
#384768
Deuteranopia (green-blind)
#535764
Tritanopia (blue-blind)
#932B45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2d66;
/* rgb */ color: rgb(138, 45, 102);
/* oklch */ color: oklch(45.4% 0.141 346.4);
Tailwind
colors: {
  custom: {
    50: '#af6d91',
    500: '#8a2d66',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d66;
$custom-light: #af6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d66",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 323.226,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.14098,
    "h": 346.4
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#8A2D66
secondary
#60B380
accent
#DA844D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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