#8A226D#8A226D

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

Color values

HEX#8A226D
RGBrgb(138, 34, 109)
HSLhsl(317, 60%, 34%)
HSVhsv(317, 75%, 54%)
CMYKcmyk(0%, 75.4%, 21%, 45.9%)
CIE-LABlab(33.25, 50.60, -18.87)
CIE-LCHlch(33.25, 54.01, 339.55°)
OKLaboklab(44.57% 0.1517 -0.0507)
OKLCHoklch(44.57% 0.16 341.5)
XYZxyz(13.8140, 7.6528, 15.2147)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A226D #228A3F
analogous
#73228A #8A226D #8A2239
triadic
#8A226D #6D8A22 #226D8A
tetradic
#8A226D #8A7322 #228A3F #22398A
square
#8A226D #8A7322 #228A3F #22398A
split-complementary
#8A226D #398A22 #228A73
monochromatic
#280A1F #591646 #8A226D #BB2E94 #D452B0

Accessibility & contrast

On white

8.30
#8A226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A226D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A226D#FFFFFF#000000##FFFFFF
##8A226D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a226d;
/* rgb */ color: rgb(138, 34, 109);
/* oklch */ color: oklch(44.6% 0.160 341.5);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8a226d',
    950: '#000000',
  },
}
SCSS
$custom: #8a226d;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8a226d",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 316.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.15992,
    "h": 341.5
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#8A226D
secondary
#50B86D
accent
#E47144
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A226D

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

Preview Lab → · Contrast checker → · Palette generator →

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