#8A2E67#8A2E67

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

Color values

HEX#8A2E67
RGBrgb(138, 46, 103)
HSLhsl(323, 50%, 36%)
HSVhsv(323, 67%, 54%)
CMYKcmyk(0%, 66.7%, 25.4%, 45.9%)
CIE-LABlab(34.68, 45.04, -12.86)
CIE-LCHlch(34.68, 46.84, 344.06°)
OKLaboklab(45.53% 0.136 -0.034)
OKLCHoklch(45.53% 0.14 345.9)
XYZxyz(13.9069, 8.3379, 13.7063)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E67 #2E8A51
analogous
#7F2E8A #8A2E67 #8A2E39
triadic
#8A2E67 #678A2E #2E678A
tetradic
#8A2E67 #8A7F2E #2E8A51 #2E398A
square
#8A2E67 #8A7F2E #2E8A51 #2E398A
split-complementary
#8A2E67 #398A2E #2E8A7F
monochromatic
#2E0F22 #5C1F45 #8A2E67 #B83D89 #CC66A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2E67#FFFFFF#000000##FFFFFF
##8A2E671.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)
#384869
Deuteranopia (green-blind)
#535765
Tritanopia (blue-blind)
#932C46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2e67;
/* rgb */ color: rgb(138, 46, 103);
/* oklch */ color: oklch(45.5% 0.140 345.9);
Tailwind
colors: {
  custom: {
    50: '#af6d92',
    500: '#8a2e67',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e67;
$custom-light: #af6d92;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e67",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 322.826,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.14016,
    "h": 345.9
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#8A2E67
secondary
#61B380
accent
#DA834E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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