#8A226E#8A226E

#8A226E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 341.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8A226E
RGBrgb(138, 34, 110)
HSLhsl(316, 60%, 34%)
HSVhsv(316, 75%, 54%)
CMYKcmyk(0%, 75.4%, 20.3%, 45.9%)
CIE-LABlab(33.30, 50.75, -19.44)
CIE-LCHlch(33.30, 54.34, 339.04°)
OKLaboklab(44.62% 0.1518 -0.0523)
OKLCHoklch(44.62% 0.161 341)
XYZxyz(13.8682, 7.6745, 15.4998)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A226E #228A3E
analogous
#72228A #8A226E #8A223A
triadic
#8A226E #6E8A22 #226E8A
tetradic
#8A226E #8A7222 #228A3E #223A8A
square
#8A226E #8A7222 #228A3E #223A8A
split-complementary
#8A226E #3A8A22 #228A72
monochromatic
#280A20 #591647 #8A226E #BB2E95 #D452B1

Accessibility & contrast

On white

8.29
#8A226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A226E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A226E#FFFFFF#000000##FFFFFF
##8A226E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4470
Deuteranopia (green-blind)
#4C546C
Tritanopia (blue-blind)
#932445
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a226e;
/* rgb */ color: rgb(138, 34, 110);
/* oklch */ color: oklch(44.6% 0.161 341.0);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8a226e',
    950: '#000000',
  },
}
SCSS
$custom: #8a226e;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8a226e",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 316.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44623,
    "c": 0.16059,
    "h": 341
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#8A226E
secondary
#50B86C
accent
#E46F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A226E

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

Preview Lab → · Contrast checker → · Palette generator →

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