#8A225E#8A225E

#8A225E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.151 H 349.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A225E
RGBrgb(138, 34, 94)
HSLhsl(325, 60%, 34%)
HSVhsv(325, 75%, 54%)
CMYKcmyk(0%, 75.4%, 31.9%, 45.9%)
CIE-LABlab(32.61, 48.60, -10.24)
CIE-LCHlch(32.61, 49.66, 348.11°)
OKLaboklab(43.9% 0.1484 -0.0267)
OKLCHoklch(43.9% 0.151 349.8)
XYZxyz(13.0743, 7.3570, 11.3190)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A225E #228A4E
analogous
#82228A #8A225E #8A222A
triadic
#8A225E #5E8A22 #225E8A
tetradic
#8A225E #8A8222 #228A4E #222A8A
square
#8A225E #8A8222 #228A4E #222A8A
split-complementary
#8A225E #2A8A22 #228A82
monochromatic
#280A1B #59163D #8A225E #BB2E7F #D4529D

Accessibility & contrast

On white

8.50
#8A225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A225E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A225E#FFFFFF#000000##FFFFFF
##8A225E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#51535C
Tritanopia (blue-blind)
#941C3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a225e;
/* rgb */ color: rgb(138, 34, 94);
/* oklch */ color: oklch(43.9% 0.151 349.8);
Tailwind
colors: {
  custom: {
    50: '#b0678b',
    500: '#8a225e',
    950: '#000000',
  },
}
SCSS
$custom: #8a225e;
$custom-light: #b0678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a225e",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 325.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.1508,
    "h": 349.8
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#8A225E
secondary
#50B87C
accent
#E48844
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A225E

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

Preview Lab → · Contrast checker → · Palette generator →

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