#8A2A70#8A2A70

#8A2A70 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.152 H 340.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A2A70
RGBrgb(138, 42, 112)
HSLhsl(316, 53%, 35%)
HSVhsv(316, 70%, 54%)
CMYKcmyk(0%, 69.6%, 18.8%, 45.9%)
CIE-LABlab(34.46, 48.03, -18.90)
CIE-LCHlch(34.46, 51.62, 338.52°)
OKLaboklab(45.5% 0.1431 -0.0509)
OKLCHoklch(45.5% 0.152 340.4)
XYZxyz(14.2342, 8.2304, 16.1651)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A70 #2A8A44
analogous
#742A8A #8A2A70 #8A2A40
triadic
#8A2A70 #708A2A #2A708A
tetradic
#8A2A70 #8A742A #2A8A44 #2A408A
square
#8A2A70 #8A742A #2A8A44 #2A408A
split-complementary
#8A2A70 #408A2A #2A8A74
monochromatic
#2C0D24 #5B1C4A #8A2A70 #B93896 #CF60B1

Accessibility & contrast

On white

7.94
#8A2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A70
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A70#FFFFFF#000000##FFFFFF
##8A2A701.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304772
Deuteranopia (green-blind)
#4E576E
Tritanopia (blue-blind)
#922C49
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2a70;
/* rgb */ color: rgb(138, 42, 112);
/* oklch */ color: oklch(45.5% 0.152 340.4);
Tailwind
colors: {
  custom: {
    50: '#af6c99',
    500: '#8a2a70',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a70;
$custom-light: #af6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a70",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 316.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.15184,
    "h": 340.4
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#8A2A70
secondary
#5BB474
accent
#DD734B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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