#8A2E70#8A2E70

#8A2E70 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.146 H 340.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2E70
RGBrgb(138, 46, 112)
HSLhsl(317, 50%, 36%)
HSVhsv(317, 67%, 54%)
CMYKcmyk(0%, 66.7%, 18.8%, 45.9%)
CIE-LABlab(35.06, 46.36, -17.98)
CIE-LCHlch(35.06, 49.72, 338.81°)
OKLaboklab(45.94% 0.138 -0.0483)
OKLCHoklch(45.94% 0.146 340.7)
XYZxyz(14.3832, 8.5284, 16.2147)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E70 #2E8A48
analogous
#762E8A #8A2E70 #8A2E42
triadic
#8A2E70 #708A2E #2E708A
tetradic
#8A2E70 #8A762E #2E8A48 #2E428A
square
#8A2E70 #8A762E #2E8A48 #2E428A
split-complementary
#8A2E70 #428A2E #2E8A76
monochromatic
#2E0F25 #5C1F4B #8A2E70 #B83D95 #CC66AF

Accessibility & contrast

On white

7.76
#8A2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E70
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E70#FFFFFF#000000##FFFFFF
##8A2E701.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344972
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#92304A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2e70;
/* rgb */ color: rgb(138, 46, 112);
/* oklch */ color: oklch(45.9% 0.146 340.7);
Tailwind
colors: {
  custom: {
    50: '#af6e99',
    500: '#8a2e70',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e70;
$custom-light: #af6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e70",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 316.957,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.14621,
    "h": 340.7
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#8A2E70
secondary
#61B378
accent
#DA764E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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