#A82F8D#A82F8D

#A82F8D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 338.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A82F8D
RGBrgb(168, 47, 141)
HSLhsl(313, 56%, 42%)
HSVhsv(313, 72%, 66%)
CMYKcmyk(0%, 72%, 16.1%, 34.1%)
CIE-LABlab(41.66, 58.33, -25.31)
CIE-LCHlch(41.66, 63.58, 336.54°)
OKLaboklab(52.16% 0.1726 -0.0686)
OKLCHoklch(52.16% 0.186 338.3)
XYZxyz(21.9732, 12.2830, 26.4078)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82F8D #2FA84A
analogous
#862FA8 #A82F8D #A82F51
triadic
#A82F8D #8DA82F #2F8DA8
tetradic
#A82F8D #A8862F #2FA84A #2F51A8
square
#A82F8D #A8862F #2FA84A #2F51A8
split-complementary
#A82F8D #51A82F #2FA886
monochromatic
#48143D #782265 #A82F8D #CC48AF #D978C4

Accessibility & contrast

On white

6.08
#A82F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A82F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82F8D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82F8D#FFFFFF#000000##FFFFFF
##A82F8D1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355690
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B1355A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a82f8d;
/* rgb */ color: rgb(168, 47, 141);
/* oklch */ color: oklch(52.2% 0.186 338.3);
Tailwind
colors: {
  custom: {
    50: '#c573ae',
    500: '#a82f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a82f8d;
$custom-light: #c573ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a82f8d",
  "rgb": {
    "r": 168,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 313.388,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.18576,
    "h": 338.3
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#A82F8D
secondary
#71C183
accent
#E06A48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A82F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#A82F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva