#8A226F#8A226F

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

Color values

HEX#8A226F
RGBrgb(138, 34, 111)
HSLhsl(316, 60%, 34%)
HSVhsv(316, 75%, 54%)
CMYKcmyk(0%, 75.4%, 19.6%, 45.9%)
CIE-LABlab(33.34, 50.89, -20.00)
CIE-LCHlch(33.34, 54.68, 338.55°)
OKLaboklab(44.67% 0.152 -0.0539)
OKLCHoklch(44.67% 0.161 340.5)
XYZxyz(13.9229, 7.6964, 15.7882)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A226F #228A3D
analogous
#71228A #8A226F #8A223B
triadic
#8A226F #6F8A22 #226F8A
tetradic
#8A226F #8A7122 #228A3D #223B8A
square
#8A226F #8A7122 #228A3D #223B8A
split-complementary
#8A226F #3B8A22 #228A71
monochromatic
#280A20 #591648 #8A226F #BB2E96 #D452B3

Accessibility & contrast

On white

8.27
#8A226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A226F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A226F#FFFFFF#000000##FFFFFF
##8A226F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#4B546D
Tritanopia (blue-blind)
#922546
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a226f;
/* rgb */ color: rgb(138, 34, 111);
/* oklch */ color: oklch(44.7% 0.161 340.5);
Tailwind
colors: {
  custom: {
    50: '#b06898',
    500: '#8a226f',
    950: '#000000',
  },
}
SCSS
$custom: #8a226f;
$custom-light: #b06898;
$custom-dark: #000000;
JSON
{
  "hex": "#8a226f",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 315.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.16126,
    "h": 340.5
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#8A226F
secondary
#50B86B
accent
#E46E44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A226F

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

Preview Lab → · Contrast checker → · Palette generator →

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