#8A226A#8A226A

#8A226A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.158 H 343.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8A226A
RGBrgb(138, 34, 106)
HSLhsl(318, 60%, 34%)
HSVhsv(318, 75%, 54%)
CMYKcmyk(0%, 75.4%, 23.2%, 45.9%)
CIE-LABlab(33.11, 50.18, -17.17)
CIE-LCHlch(33.11, 53.04, 341.11°)
OKLaboklab(44.43% 0.1511 -0.046)
OKLCHoklch(44.43% 0.158 343.1)
XYZxyz(13.6553, 7.5894, 14.3786)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A226A #228A42
analogous
#76228A #8A226A #8A2236
triadic
#8A226A #6A8A22 #226A8A
tetradic
#8A226A #8A7622 #228A42 #22368A
square
#8A226A #8A7622 #228A42 #22368A
split-complementary
#8A226A #368A22 #228A76
monochromatic
#280A1F #591644 #8A226A #BB2E90 #D452AC

Accessibility & contrast

On white

8.34
#8A226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A226A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A226A#FFFFFF#000000##FFFFFF
##8A226A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#932243
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a226a;
/* rgb */ color: rgb(138, 34, 106);
/* oklch */ color: oklch(44.4% 0.158 343.1);
Tailwind
colors: {
  custom: {
    50: '#b06894',
    500: '#8a226a',
    950: '#000000',
  },
}
SCSS
$custom: #8a226a;
$custom-light: #b06894;
$custom-dark: #000000;
JSON
{
  "hex": "#8a226a",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 318.462,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.15795,
    "h": 343.1
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#8A226A
secondary
#50B870
accent
#E47544
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A226A

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

Preview Lab → · Contrast checker → · Palette generator →

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