#8A2C70#8A2C70

#8A2C70 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.149 H 340.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2C70
RGBrgb(138, 44, 112)
HSLhsl(317, 52%, 36%)
HSVhsv(317, 68%, 54%)
CMYKcmyk(0%, 68.1%, 18.8%, 45.9%)
CIE-LABlab(34.75, 47.21, -18.45)
CIE-LCHlch(34.75, 50.69, 338.66°)
OKLaboklab(45.71% 0.1406 -0.0496)
OKLCHoklch(45.71% 0.149 340.5)
XYZxyz(14.3069, 8.3758, 16.1893)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C70 #2C8A46
analogous
#752C8A #8A2C70 #8A2C41
triadic
#8A2C70 #708A2C #2C708A
tetradic
#8A2C70 #8A752C #2C8A46 #2C418A
square
#8A2C70 #8A752C #2C8A46 #2C418A
split-complementary
#8A2C70 #418A2C #2C8A75
monochromatic
#2D0E25 #5C1D4A #8A2C70 #B83B96 #CD63B0

Accessibility & contrast

On white

7.85
#8A2C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2C70
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C70#FFFFFF#000000##FFFFFF
##8A2C701.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324872
Deuteranopia (green-blind)
#4F576E
Tritanopia (blue-blind)
#922E4A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2c70;
/* rgb */ color: rgb(138, 44, 112);
/* oklch */ color: oklch(45.7% 0.149 340.5);
Tailwind
colors: {
  custom: {
    50: '#af6d99',
    500: '#8a2c70',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c70;
$custom-light: #af6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c70",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 316.596,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.14907,
    "h": 340.5
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#8A2C70
secondary
#5EB476
accent
#DB744D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2C70

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

Preview Lab → · Contrast checker → · Palette generator →

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