#8A2D6C#8A2D6C

#8A2D6C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.145 H 342.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2D6C
RGBrgb(138, 45, 108)
HSLhsl(319, 51%, 36%)
HSVhsv(319, 67%, 54%)
CMYKcmyk(0%, 67.4%, 21.7%, 45.9%)
CIE-LABlab(34.73, 46.19, -15.95)
CIE-LCHlch(34.73, 48.87, 340.94°)
OKLaboklab(45.64% 0.1385 -0.0426)
OKLCHoklch(45.64% 0.145 342.9)
XYZxyz(14.1268, 8.3641, 15.0549)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D6C #2D8A4B
analogous
#792D8A #8A2D6C #8A2D3D
triadic
#8A2D6C #6C8A2D #2D6C8A
tetradic
#8A2D6C #8A792D #2D8A4B #2D3D8A
square
#8A2D6C #8A792D #2D8A4B #2D3D8A
split-complementary
#8A2D6C #3D8A2D #2D8A79
monochromatic
#2E0F24 #5C1E48 #8A2D6C #B83C90 #CD65AB

Accessibility & contrast

On white

7.86
#8A2D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D6C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D6C#FFFFFF#000000##FFFFFF
##8A2D6C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486E
Deuteranopia (green-blind)
#51576A
Tritanopia (blue-blind)
#932D48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2d6c;
/* rgb */ color: rgb(138, 45, 108);
/* oklch */ color: oklch(45.6% 0.145 342.9);
Tailwind
colors: {
  custom: {
    50: '#af6d96',
    500: '#8a2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d6c;
$custom-light: #af6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d6c",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 319.355,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45639,
    "c": 0.14488,
    "h": 342.9
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#8A2D6C
secondary
#60B37B
accent
#DA7B4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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