#8A2D6B#8A2D6B

#8A2D6B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.144 H 343.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A2D6B
RGBrgb(138, 45, 107)
HSLhsl(320, 51%, 36%)
HSVhsv(320, 67%, 54%)
CMYKcmyk(0%, 67.4%, 22.5%, 45.9%)
CIE-LABlab(34.69, 46.04, -15.39)
CIE-LCHlch(34.69, 48.55, 341.52°)
OKLaboklab(45.59% 0.1382 -0.0411)
OKLCHoklch(45.59% 0.144 343.5)
XYZxyz(14.0739, 8.3429, 14.7762)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D6B #2D8A4C
analogous
#7A2D8A #8A2D6B #8A2D3C
triadic
#8A2D6B #6B8A2D #2D6B8A
tetradic
#8A2D6B #8A7A2D #2D8A4C #2D3C8A
square
#8A2D6B #8A7A2D #2D8A4C #2D3C8A
split-complementary
#8A2D6B #3C8A2D #2D8A7A
monochromatic
#2E0F23 #5C1E47 #8A2D6B #B83C8F #CD65AA

Accessibility & contrast

On white

7.87
#8A2D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2D6B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D6B#FFFFFF#000000##FFFFFF
##8A2D6B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#932D48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2d6b;
/* rgb */ color: rgb(138, 45, 107);
/* oklch */ color: oklch(45.6% 0.144 343.5);
Tailwind
colors: {
  custom: {
    50: '#af6d95',
    500: '#8a2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d6b;
$custom-light: #af6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d6b",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 320,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.14421,
    "h": 343.5
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#8A2D6B
secondary
#60B37B
accent
#DA7C4D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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